Skip to content

Commit

Permalink
test: add check
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Prashar <[email protected]>
  • Loading branch information
vprashar2929 committed Oct 19, 2023
1 parent 3a341c4 commit 1c723d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/e2e/kepler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,14 @@ func TestTaint_WithToleration(t *testing.T) {
ds := appsv1.DaemonSet{}
f.AssertResourceExists(exporter.DaemonSetName, components.Namespace, &ds)

// time.Sleep(2 * time.Minute)
kepler := f.WaitUntilKeplerCondition("kepler", v1alpha1.Available)
assert.EqualValues(t, len(nodes), kepler.Status.NumberAvailable)
t.Logf("%v %v", len(nodes), kepler.Status.NumberAvailable)
// assert.EqualValues(t, len(nodes), kepler.Status.NumberAvailable)

time.Sleep(2 * time.Minute)
kepler = f.WaitUntilKeplerCondition("kepler", v1alpha1.Available)
t.Logf("%v %v", len(nodes), kepler.Status.NumberAvailable)
assert.EqualValues(t, len(nodes), kepler.Status.NumberAvailable)
f.DeleteKepler("kepler")

ns := components.NewKeplerNamespace()
Expand Down

0 comments on commit 1c723d3

Please sign in to comment.