Fix unit tests.

This commit is contained in:
Kia Lam 2022-08-29 21:17:26 -07:00 committed by Jeff Bradberry
parent a59aa44249
commit dba03616f4
4 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'control',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,
@ -69,6 +70,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'hybrid',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,
@ -96,6 +98,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'execution',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,

View File

@ -44,6 +44,7 @@ const instance = [
enabled: true,
managed_by_policy: true,
node_type: 'hybrid',
node_state: 'ready',
},
{
id: 2,
@ -72,6 +73,7 @@ const instance = [
enabled: true,
managed_by_policy: true,
node_type: 'control',
node_state: 'ready',
},
];

View File

@ -33,6 +33,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'control',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,
@ -52,6 +53,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'hybrid',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,
@ -71,6 +73,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'execution',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,
@ -90,6 +93,7 @@ const instances = [
jobs_total: 68,
cpu: 6,
node_type: 'hop',
node_state: 'ready',
memory: 2087469056,
cpu_capacity: 24,
mem_capacity: 1,

View File

@ -40,6 +40,7 @@ const instance = [
enabled: true,
managed_by_policy: true,
node_type: 'hybrid',
node_state: 'ready',
},
{
id: 2,
@ -64,6 +65,7 @@ const instance = [
enabled: true,
managed_by_policy: true,
node_type: 'hop',
node_state: 'ready',
},
];