mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
deps: update shoenig/test to v0.6.0 (#15715)
Adds support for custom cmp.Options; need to fix one minor thing causing api breakage.
This commit is contained in:
@@ -10,7 +10,7 @@ require (
|
||||
github.com/hashicorp/go-rootcerts v1.0.2
|
||||
github.com/mitchellh/go-testing-interface v1.14.1
|
||||
github.com/mitchellh/mapstructure v1.5.0
|
||||
github.com/shoenig/test v0.5.2
|
||||
github.com/shoenig/test v0.6.0
|
||||
)
|
||||
|
||||
require (
|
||||
|
||||
@@ -21,8 +21,8 @@ github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyua
|
||||
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/shoenig/test v0.5.2 h1:ELZ7qZ/6CPrT71PXrSe2TFzLs4/cGCqqU5lZ5RhZ+B8=
|
||||
github.com/shoenig/test v0.5.2/go.mod h1:xYtyGBC5Q3kzCNyJg/SjgNpfAa2kvmgA0i5+lQso8x0=
|
||||
github.com/shoenig/test v0.6.0 h1:rU0ymLHmCRqz14gABce/DzYryKU+uaWqobCBvAY6DtU=
|
||||
github.com/shoenig/test v0.6.0/go.mod h1:xYtyGBC5Q3kzCNyJg/SjgNpfAa2kvmgA0i5+lQso8x0=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
|
||||
|
||||
@@ -24,7 +24,6 @@ import (
|
||||
"github.com/hashicorp/go-cleanhttp"
|
||||
"github.com/hashicorp/nomad/api/internal/testutil/discover"
|
||||
testing "github.com/mitchellh/go-testing-interface"
|
||||
"github.com/shoenig/test"
|
||||
"github.com/shoenig/test/must"
|
||||
"github.com/shoenig/test/portal"
|
||||
"github.com/shoenig/test/wait"
|
||||
@@ -286,7 +285,7 @@ func (s *TestServer) waitForAPI() {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
test.Wait(s.t,
|
||||
must.Wait(s.t,
|
||||
wait.InitialSuccess(
|
||||
wait.ErrorFunc(f),
|
||||
wait.Timeout(10*time.Second),
|
||||
@@ -313,7 +312,7 @@ func (s *TestServer) waitForLeader() {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
test.Wait(s.t,
|
||||
must.Wait(s.t,
|
||||
wait.InitialSuccess(
|
||||
wait.ErrorFunc(f),
|
||||
wait.Timeout(10*time.Second),
|
||||
@@ -347,7 +346,7 @@ func (s *TestServer) waitForClient() {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
test.Wait(s.t,
|
||||
must.Wait(s.t,
|
||||
wait.InitialSuccess(
|
||||
wait.ErrorFunc(f),
|
||||
wait.Timeout(10*time.Second),
|
||||
|
||||
Reference in New Issue
Block a user