mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
driver/java: update Fingerprint for Java driver
This commit is contained in:
@@ -21,9 +21,14 @@ func TestJavaDriver_Fingerprint(t *testing.T) {
|
||||
if !apply {
|
||||
t.Fatalf("should apply")
|
||||
}
|
||||
if node.Attributes["driver.exec"] == "" {
|
||||
if node.Attributes["driver.java"] != "1" {
|
||||
t.Fatalf("missing driver")
|
||||
}
|
||||
for _, key := range []string{"driver.java.version", "driver.java.runtime", "driver.java.vm"} {
|
||||
if node.Attributes[key] == "" {
|
||||
t.Fatalf("missing driver key (%s)", key)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestJavaDriver_StartOpen_Wait(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user