mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
refactor drivers to use new getter
This commit is contained in:
@@ -97,10 +97,8 @@ func TestJavaDriver_Start_Wait(t *testing.T) {
|
||||
task := &structs.Task{
|
||||
Name: "demo-app",
|
||||
Config: map[string]string{
|
||||
"jar_source": "https://dl.dropboxusercontent.com/u/47675/jar_thing/demoapp.jar",
|
||||
// "jar_source": "https://s3-us-west-2.amazonaws.com/java-jar-thing/demoapp.jar",
|
||||
// "args": "-d64",
|
||||
"jvm_options": "-Xmx2048m -Xms256m",
|
||||
"artifact_source": "https://dl.dropboxusercontent.com/u/47675/jar_thing/demoapp.jar",
|
||||
"jvm_options": "-Xmx2048m -Xms256m",
|
||||
},
|
||||
Resources: basicResources,
|
||||
}
|
||||
@@ -145,9 +143,7 @@ func TestJavaDriver_Start_Kill_Wait(t *testing.T) {
|
||||
task := &structs.Task{
|
||||
Name: "demo-app",
|
||||
Config: map[string]string{
|
||||
"jar_source": "https://dl.dropboxusercontent.com/u/47675/jar_thing/demoapp.jar",
|
||||
// "jar_source": "https://s3-us-west-2.amazonaws.com/java-jar-thing/demoapp.jar",
|
||||
// "args": "-d64",
|
||||
"artifact_source": "https://dl.dropboxusercontent.com/u/47675/jar_thing/demoapp.jar",
|
||||
},
|
||||
Resources: basicResources,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user