Skip to content
Permalink
Browse files

delay tests

  • Loading branch information...
hunterlong committed Mar 5, 2019
1 parent d8169f6 commit 60b38f9b7e71e0bfde399f23dd8d2a65cf5d05a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/cli_test.go
@@ -39,7 +39,7 @@ func TestStartServerCommand(t *testing.T) {
os.Setenv("DB_CONN", "sqlite")
cmd := helperCommand(nil, "")
var got = make(chan string)
commandAndSleep(cmd, time.Duration(240*time.Second), got)
commandAndSleep(cmd, time.Duration(360*time.Second), got)
os.Unsetenv("DB_CONN")
gg, _ := <-got
assert.Contains(t, gg, "DB_CONN environment variable was found")

0 comments on commit 60b38f9

Please sign in to comment.
You can’t perform that action at this time.