mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
23 lines
439 B
Go
23 lines
439 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package consul
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/nomad/e2e/e2eutil"
|
|
)
|
|
|
|
func TestConsul(t *testing.T) {
|
|
// todo: migrate the remaining consul tests
|
|
|
|
nomad := e2eutil.NomadClient(t)
|
|
|
|
e2eutil.WaitForLeader(t, nomad)
|
|
e2eutil.WaitForNodesReady(t, nomad, 1)
|
|
|
|
t.Run("testServiceReversion", testServiceReversion)
|
|
t.Run("testAllocRestart", testAllocRestart)
|
|
}
|