Skip to content

Commit

Permalink
increase timeouts in testqueueexitontimeout so git tests dont fail maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
lucamrgs committed Jan 20, 2025
1 parent 800c527 commit 6a49912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/core/capability/manual/interaction/interaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func TestQueueFailWithoutTimeout(t *testing.T) {

func TestQueueExitOnTimeout(t *testing.T) {
interaction := New([]IInteractionIntegrationNotifier{})
timeout := 30 * time.Millisecond
timeout := 50 * time.Millisecond
testCtx, testCancel := context.WithTimeout(context.Background(), timeout)
defer testCancel()

Expand All @@ -70,7 +70,7 @@ func TestQueueExitOnTimeout(t *testing.T) {
t.Fail()
}

time.Sleep(50 * time.Millisecond)
time.Sleep(100 * time.Millisecond)

expectedLogEntry := "manual command timed out. deregistering associated pending command"
assert.NotEqual(t, len(hook.Entries), 0)
Expand Down

0 comments on commit 6a49912

Please sign in to comment.