From 8fb909291fbdad7c3032d30b1e7fa8dbc95d4449 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Tue, 15 Jun 2021 15:21:35 -0700 Subject: [PATCH] Skip migrated metrics for Windows CSI tests The Windows CSI migration test are failing due to issue https://github.com/kubernetes/kubernetes/issues/102893 Change-Id: I8c4c1b376a915f1a0982a9be5e35960886cc77bf --- test/e2e/storage/testsuites/base.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/e2e/storage/testsuites/base.go b/test/e2e/storage/testsuites/base.go index 01499aff92e..9a8f58d3f32 100644 --- a/test/e2e/storage/testsuites/base.go +++ b/test/e2e/storage/testsuites/base.go @@ -206,6 +206,14 @@ func newMigrationOpCheck(cs clientset.Interface, pluginName string) *migrationOp moc.skipCheck = true return &moc } + + // TODO: temporarily skip metrics check due to issue #[102893](https://github.com/kubernetes/kubernetes/issues/102893) + // Will remove it once the issue is fixed + if framework.NodeOSDistroIs("windows") { + moc.skipCheck = true + return &moc + } + moc.oldInTreeOps, moc.oldMigratedOps = getMigrationVolumeOpCounts(cs, pluginName) return &moc }