fixup! tests: don't assume eth0 network is available

This commit is contained in:
Mahmood Ali
2019-11-21 08:28:20 -05:00
parent 720b41c47e
commit c661d37ca2

View File

@@ -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},