Merge pull request #102895 from jingxu97/june/skipmatrics

Skip migrated metrics for Windows CSI tests
This commit is contained in:
Kubernetes Prow Robot 2021-06-15 19:50:11 -07:00 committed by GitHub
commit 6298e1fe6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,6 +206,14 @@ func newMigrationOpCheck(cs clientset.Interface, pluginName string) *migrationOp
moc.skipCheck = true moc.skipCheck = true
return &moc 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) moc.oldInTreeOps, moc.oldMigratedOps = getMigrationVolumeOpCounts(cs, pluginName)
return &moc return &moc
} }