cli delay for testing

pull/156/head
Hunter Long 2019-03-04 10:03:04 -08:00
parent 8004e17c39
commit d380bc7f8b
1 changed files with 1 additions and 1 deletions

View File

@ -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(90*time.Second), got)
commandAndSleep(cmd, time.Duration(180*time.Second), got)
os.Unsetenv("DB_CONN")
gg, _ := <-got
assert.Contains(t, gg, "DB_CONN environment variable was found")