Skip to content

Commit

Permalink
fix E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Thirumurugan committed Jan 8, 2025
1 parent 5abf54a commit 4950abc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/e2e/placement_eviction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickFixed
It("should still place resources on the all available member clusters", checkIfPlacedWorkResourcesOnAllMemberClusters)
})

var _ = Describe("ClusterResourcePlacement eviction of bound binding, taint cluster before eviction - No PDB specified", Ordered, func() {
var _ = Describe("ClusterResourcePlacement eviction of bound binding, taint cluster before eviction - No PDB specified", Ordered, Serial, func() {
crpName := fmt.Sprintf(crpNameTemplate, GinkgoParallelProcess())
crpEvictionName := fmt.Sprintf(crpEvictionNameTemplate, GinkgoParallelProcess())
var taintClusterNames, noTaintClusterNames []string
Expand Down Expand Up @@ -165,7 +165,7 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding, taint clus
})
})

var _ = Describe("ClusterResourcePlacement eviction of bound binding, no taint specified, evicted cluster is picked again by scheduler - No PDB specified", Ordered, Serial, func() {
var _ = Describe("ClusterResourcePlacement eviction of bound binding, no taint specified, evicted cluster is picked again by scheduler - No PDB specified", Ordered, func() {
crpName := fmt.Sprintf(crpNameTemplate, GinkgoParallelProcess())
crpEvictionName := fmt.Sprintf(crpEvictionNameTemplate, GinkgoParallelProcess())

Expand Down Expand Up @@ -232,6 +232,7 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickAll C

AfterAll(func() {
ensureCRPEvictionDeleted(crpEvictionName)
ensureCRPDisruptionBudgetDeleted(crpName)
ensureCRPAndRelatedResourcesDeleted(crpName, allMemberClusters)
})

Expand Down Expand Up @@ -300,6 +301,7 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickAll C

AfterAll(func() {
ensureCRPEvictionDeleted(crpEvictionName)
ensureCRPDisruptionBudgetDeleted(crpName)
ensureCRPAndRelatedResourcesDeleted(crpName, allMemberClusters)
})

Expand Down Expand Up @@ -368,6 +370,7 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickAll C

AfterAll(func() {
ensureCRPEvictionDeleted(crpEvictionName)
ensureCRPDisruptionBudgetDeleted(crpName)
ensureCRPAndRelatedResourcesDeleted(crpName, allMemberClusters)
})

Expand Down

0 comments on commit 4950abc

Please sign in to comment.