stale issue bot fix, test fix

pull/604/head v0.90.43
hunterlong 2020-05-23 17:32:51 -07:00
parent eb634c472b
commit b25f7c3a66
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ import (
)
func TestCommandNotifier(t *testing.T) {
t.SkipNow()
db, err := database.OpenTester()
require.Nil(t, err)
db.AutoMigrate(&notifications.Notification{})

View File

@ -30,7 +30,7 @@ func Ping(address string, secondsTimeout int) error {
if err != nil {
return err
}
out, _, err := Command(ping, address, "-n 1", fmt.Sprintf("-w %v", timeout*1000))
out, _, err := Command(ping, address, "-n 1", fmt.Sprintf("-w %v", secondsTimeout*1000))
if err != nil {
return err
}