Files
nomad/e2e/consul/consul_test.go
2024-01-10 21:31:18 +01:00

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)
}