mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
fixup! tests: don't assume eth0 network is available
This commit is contained in:
@@ -1171,7 +1171,7 @@ func TestClient_UpdateNodeFromFingerprintKeepsConfig(t *testing.T) {
|
||||
// Client without network configured updates to match fingerprint
|
||||
client, cleanup := TestClient(t, nil)
|
||||
defer cleanup()
|
||||
// capture the platform fingerprinted device name for the next test
|
||||
|
||||
client.updateNodeFromFingerprint(&fingerprint.FingerprintResponse{
|
||||
NodeResources: &structs.NodeResources{
|
||||
Cpu: structs.NodeCpuResources{CpuShares: 123},
|
||||
|
||||
Reference in New Issue
Block a user