Skip to content

Commit

Permalink
Fix lxc test panic
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetha Appan committed Nov 28, 2018
1 parent 76f27a1 commit 22ddb4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/lxc/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ func TestLXCDriver_FingerprintNotEnabled(t *testing.T) {
select {
case finger := <-fingerCh:
require.Equal(drivers.HealthStateUndetected, finger.Health)
require.Empty(finger.Attributes["driver.lxc"].GetString())
require.Empty(finger.Attributes["driver.lxc.version"].GetString())
require.Empty(finger.Attributes["driver.lxc"])
require.Empty(finger.Attributes["driver.lxc.version"])
case <-time.After(time.Duration(testutil.TestMultiplier()*5) * time.Second):
require.Fail("timeout receiving fingerprint")
}
Expand Down

0 comments on commit 22ddb4d

Please sign in to comment.