mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 08:48:46 -03:30
Fix unit tests.
This commit is contained in:
@@ -42,6 +42,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'control',
|
node_type: 'control',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
@@ -69,6 +70,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'hybrid',
|
node_type: 'hybrid',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
@@ -96,6 +98,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'execution',
|
node_type: 'execution',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ const instance = [
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
managed_by_policy: true,
|
managed_by_policy: true,
|
||||||
node_type: 'hybrid',
|
node_type: 'hybrid',
|
||||||
|
node_state: 'ready',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
@@ -72,6 +73,7 @@ const instance = [
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
managed_by_policy: true,
|
managed_by_policy: true,
|
||||||
node_type: 'control',
|
node_type: 'control',
|
||||||
|
node_state: 'ready',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'control',
|
node_type: 'control',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
@@ -52,6 +53,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'hybrid',
|
node_type: 'hybrid',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
@@ -71,6 +73,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'execution',
|
node_type: 'execution',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
@@ -90,6 +93,7 @@ const instances = [
|
|||||||
jobs_total: 68,
|
jobs_total: 68,
|
||||||
cpu: 6,
|
cpu: 6,
|
||||||
node_type: 'hop',
|
node_type: 'hop',
|
||||||
|
node_state: 'ready',
|
||||||
memory: 2087469056,
|
memory: 2087469056,
|
||||||
cpu_capacity: 24,
|
cpu_capacity: 24,
|
||||||
mem_capacity: 1,
|
mem_capacity: 1,
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ const instance = [
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
managed_by_policy: true,
|
managed_by_policy: true,
|
||||||
node_type: 'hybrid',
|
node_type: 'hybrid',
|
||||||
|
node_state: 'ready',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
@@ -64,6 +65,7 @@ const instance = [
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
managed_by_policy: true,
|
managed_by_policy: true,
|
||||||
node_type: 'hop',
|
node_type: 'hop',
|
||||||
|
node_state: 'ready',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user