mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
fixed the qemu fingerprinter test
This commit is contained in:
@@ -15,7 +15,11 @@ import (
|
||||
// The fingerprinter test should always pass, even if QEMU is not installed.
|
||||
func TestQemuDriver_Fingerprint(t *testing.T) {
|
||||
ctestutils.QemuCompatible(t)
|
||||
driverCtx, _ := testDriverContexts(&structs.Task{Name: "foo"})
|
||||
task := &structs.Task{
|
||||
Name: "foo",
|
||||
Resources: structs.DefaultResources(),
|
||||
}
|
||||
driverCtx, _ := testDriverContexts(task)
|
||||
d := NewQemuDriver(driverCtx)
|
||||
node := &structs.Node{
|
||||
Attributes: make(map[string]string),
|
||||
|
||||
Reference in New Issue
Block a user