This is an automated email from the ASF dual-hosted git repository.
pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new 6703e4ba [YUNIKORN-3082] Fix flaky e2e Verify_GangApp_FIFO_Order (#975)
6703e4ba is described below
commit 6703e4ba830230acccf14e4a7ec3ec901c817438
Author: Peter Bacsko <[email protected]>
AuthorDate: Fri Jun 20 09:41:00 2025 +0200
[YUNIKORN-3082] Fix flaky e2e Verify_GangApp_FIFO_Order (#975)
Closes: #975
Signed-off-by: Peter Bacsko <[email protected]>
---
test/e2e/gang_scheduling/gang_scheduling_test.go | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/test/e2e/gang_scheduling/gang_scheduling_test.go
b/test/e2e/gang_scheduling/gang_scheduling_test.go
index 70ef8670..b62a05af 100644
--- a/test/e2e/gang_scheduling/gang_scheduling_test.go
+++ b/test/e2e/gang_scheduling/gang_scheduling_test.go
@@ -340,9 +340,12 @@ var _ = Describe("", func() {
},
}
jobA := createJob(appIDA, minResource, annotationsA, 1)
- time.Sleep(1 * time.Second) // To ensure there is minor gap
between applications
+ err := kClient.WaitForJobPods(ns, jobA.Name,
int(*jobA.Spec.Parallelism), 60*time.Second)
+ Ω(err).NotTo(HaveOccurred())
+
createJob(appIDB, minResource, annotationsB, 3)
- time.Sleep(1 * time.Second) // To ensure there is minor gap
between applications
+ err = kClient.WaitForPlaceholders(ns, "tg-"+appIDB+"-", 3,
60*time.Second, nil)
+ Ω(err).NotTo(HaveOccurred())
createJob(appIDC, minResource, annotationsC, 1)
// AppB should have 2/3 placeholders running
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]