Skip to content

Commit

Permalink
attempt to fix randomly failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbsgilbs committed Oct 7, 2020
1 parent 1c13fbf commit f25bc2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func TestCli(t *testing.T) {
env := []string{
"GLLOQ_POLL_DELAY=1",
"GLLOQ_POLL_DELAY=100",
"GLLOQ_TIMEOUT=5",
}

Expand All @@ -24,7 +24,7 @@ func TestCli(t *testing.T) {
go func() {
if _, err := cmd.RunGlloq(
append(env, "GLLOQ_KEY="+key),
[]string{"sleep", "5"},
[]string{"sleep", "10"},
); err != nil {
panic(err)
}
Expand Down

0 comments on commit f25bc2f

Please sign in to comment.