mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Disable schedulers for TestHTTP_AllocSnapshot_Atomic
This commit is contained in:
@@ -435,7 +435,10 @@ func TestHTTP_AllocSnapshot_WithMigrateToken(t *testing.T) {
|
||||
// snapshotting a valid tar is not returned.
|
||||
func TestHTTP_AllocSnapshot_Atomic(t *testing.T) {
|
||||
t.Parallel()
|
||||
httpTest(t, nil, func(s *TestAgent) {
|
||||
httpTest(t, func(c *Config) {
|
||||
// Disable the schedulers
|
||||
c.Server.NumSchedulers = 0
|
||||
}, func(s *TestAgent) {
|
||||
// Create an alloc
|
||||
state := s.server.State()
|
||||
alloc := mock.Alloc()
|
||||
|
||||
Reference in New Issue
Block a user