trivial: Use recognized extra specs in tests

Tests were previously using arbitrary keys that weren't published
anywhere in the codebase. Switch to using meaningful ones.

Change-Id: I8da84b48e4d630eeb91d92346aa2323e25e28e3b
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane
2020-02-14 10:20:56 +00:00
parent fa5e1b556f
commit 9009d56d21
26 changed files with 159 additions and 122 deletions
@@ -1,6 +1,6 @@
{
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
}
@@ -1,6 +1,6 @@
{
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
}
@@ -1,3 +1,3 @@
{
"key1": "value1"
}
"hw:numa_nodes": "1"
}
@@ -1,6 +1,6 @@
{
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
}
@@ -1,3 +1,3 @@
{
"key1": "new_value1"
}
"hw:numa_nodes": "2"
}
@@ -1,3 +1,3 @@
{
"key1": "new_value1"
}
"hw:numa_nodes": "2"
}
@@ -22,8 +22,8 @@
"rxtx_factor": 1.0,
"description": "test description",
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
}
@@ -169,8 +169,8 @@
"rxtx_factor": 1.0,
"description": "test description",
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
]
@@ -22,8 +22,8 @@
"rxtx_factor": 1.0,
"description": "test description",
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
}
@@ -169,8 +169,8 @@
"rxtx_factor": 1.0,
"description": "test description",
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:cpu_policy": "shared",
"hw:numa_nodes": "1"
}
}
]
+1 -2
View File
@@ -11,8 +11,7 @@
"disabled": false,
"vcpus": 2,
"extra_specs": {
"key1": "value1",
"key2": "value2"
"hw:numa_nodes": "2"
},
"projects": ["fake_tenant"],
"swap": 0,