mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-10 05:18:18 +02:00
add more time
This commit is contained in:
parent
328d2d500b
commit
1b033471a6
2 changed files with 4 additions and 4 deletions
|
@ -31,9 +31,9 @@ func TestTarget(t *testing.T) {
|
|||
shouldBe := func(i1, i2, i3 int64) {
|
||||
t.Helper()
|
||||
|
||||
assert.Eventually(t, func() bool { return calls1.Load() == i1 }, time.Millisecond*10, time.Microsecond*100)
|
||||
assert.Eventually(t, func() bool { return calls2.Load() == i2 }, time.Millisecond*10, time.Microsecond*100)
|
||||
assert.Eventually(t, func() bool { return calls3.Load() == i3 }, time.Millisecond*10, time.Microsecond*100)
|
||||
assert.Eventually(t, func() bool { return calls1.Load() == i1 }, time.Second, time.Millisecond)
|
||||
assert.Eventually(t, func() bool { return calls2.Load() == i2 }, time.Second, time.Millisecond)
|
||||
assert.Eventually(t, func() bool { return calls3.Load() == i3 }, time.Second, time.Millisecond)
|
||||
}
|
||||
|
||||
target.Dispatch(context.Background(), 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue