mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Fingerprint test should now behave correctly when the executor is not installed; fix some go vet issues
This commit is contained in:
@@ -28,8 +28,8 @@ func TestJavaDriver_Fingerprint(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
if !apply {
|
||||
t.Fatalf("should apply")
|
||||
if apply != javaLocated() {
|
||||
t.Fatalf("Fingerprinter should detect Java when it is installed")
|
||||
}
|
||||
if node.Attributes["driver.java"] != "1" {
|
||||
t.Fatalf("missing driver")
|
||||
|
||||
Reference in New Issue
Block a user