Merge pull request #5264 from zhzhuang-zju/SerialDescribe

fix unexpected interference between different e2e use cases
This commit is contained in:
karmada-bot 2024-07-27 18:35:18 +08:00 committed by GitHub
commit ca6f17fcff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -547,7 +547,8 @@ var _ = ginkgo.Describe("[AdvancedClusterPropagation] propagation testing", func
})
// ImplicitPriority more than one PP matches the object, we should choose the most suitable one.
var _ = ginkgo.Describe("[ImplicitPriority] propagation testing", func() {
// Set it to run sequentially to avoid affecting other test cases.
var _ = framework.SerialDescribe("[ImplicitPriority] propagation testing", func() {
ginkgo.Context("priorityMatchName/priorityMatchLabel/priorityMatchAll propagation testing", func() {
var priorityMatchName, priorityMatchLabelSelector, priorityMatchAll string
var deploymentNamespace, deploymentName string

View File

@ -514,7 +514,8 @@ var _ = ginkgo.Describe("[BasicPropagation] propagation testing", func() {
})
// ImplicitPriority more than one PP matches the object, we should choose the most suitable one.
var _ = ginkgo.Describe("[ImplicitPriority] propagation testing", func() {
// Set it to run sequentially to avoid affecting other test cases.
var _ = framework.SerialDescribe("[ImplicitPriority] propagation testing", func() {
ginkgo.Context("priorityMatchName propagation testing", func() {
var policyNamespace, priorityMatchName, priorityMatchLabelSelector, priorityMatchAll string
var deploymentNamespace, deploymentName string