@@ -69,6 +69,7 @@ test("TC1228 - VM: Deploy a VM", async () => {
6969 farmId : 1 ,
7070 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
7171 features : [ Features . wireguard ] ,
72+ nodeExclude : [ 11 ] ,
7273 } as FilterOptions ) ;
7374 } catch ( error ) {
7475 //Log the resources that were not found.
@@ -88,6 +89,7 @@ test("TC1228 - VM: Deploy a VM", async () => {
8889 farmId : 1 ,
8990 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
9091 features : [ Features . wireguard ] ,
92+ nodeExclude : [ 11 ] ,
9193 } as FilterOptions ) ;
9294 }
9395 const nodeId = await getOnlineNode ( nodes ) ;
@@ -234,6 +236,7 @@ test("TC2847 - VM: Deploy a VM With Mycelium", async () => {
234236 farmId : 1 ,
235237 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
236238 features : [ Features . wireguard ] ,
239+ nodeExclude : [ 11 ] ,
237240 } as FilterOptions ) ;
238241 } catch ( error ) {
239242 //Log the resources that were not found.
@@ -253,6 +256,7 @@ test("TC2847 - VM: Deploy a VM With Mycelium", async () => {
253256 farmId : 1 ,
254257 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
255258 features : [ Features . wireguard ] ,
259+ nodeExclude : [ 11 ] ,
256260 } as FilterOptions ) ;
257261 }
258262 const nodeId = await getOnlineNode ( nodes ) ;
@@ -403,6 +407,7 @@ test("TC1229 - VM: Deploy a VM With a Disk", async () => {
403407 farmId : 1 ,
404408 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
405409 features : [ Features . wireguard ] ,
410+ nodeExclude : [ 11 ] ,
406411 } as FilterOptions ) ;
407412 } catch ( error ) {
408413 //Log the resources that were not found.
@@ -423,6 +428,7 @@ test("TC1229 - VM: Deploy a VM With a Disk", async () => {
423428 farmId : 1 ,
424429 availableFor : await gridClient . twins . get_my_twin_id ( ) ,
425430 features : [ Features . wireguard ] ,
431+ nodeExclude : [ 11 ] ,
426432 } as FilterOptions ) ;
427433 }
428434 const nodeId = await getOnlineNode ( nodes ) ;
@@ -499,9 +505,9 @@ test("TC1229 - VM: Deploy a VM With a Disk", async () => {
499505 //Verify that the disk was added successfully.
500506 await ssh . execCommand ( "df -h" ) . then ( async function ( result ) {
501507 const splittedRes = result . stdout . split ( "\n" ) ;
502- log ( splittedRes [ 4 ] ) ;
503- expect ( splittedRes [ 4 ] ) . toContain ( mountPoint ) ;
504- expect ( splittedRes [ 4 ] ) . toContain ( diskSize . toString ( ) ) ;
508+ log ( splittedRes [ 5 ] ) ;
509+ expect ( splittedRes [ 5 ] ) . toContain ( mountPoint ) ;
510+ expect ( splittedRes [ 5 ] ) . toContain ( diskSize . toString ( ) ) ;
505511 } ) ;
506512 } finally {
507513 //Disconnect from the machine
@@ -727,7 +733,11 @@ test("TC1230 - VM: Deploy Multiple VMs on Different Nodes", async () => {
727733 log ( result . stdout ) ;
728734 expect ( result . stdout ) . toContain ( vmEnvVarValue [ maxIterations ] ) ;
729735 } ) ;
730-
736+ await ssh . execCommand ( "apk add util-linux" ) . then ( function ( result ) {
737+ if ( result . stderr ) {
738+ throw new Error ( "Failed to install util-linux" ) ;
739+ }
740+ } ) ;
731741 //Verify VM Resources(CPU)
732742 await ssh . execCommand ( "lscpu" ) . then ( async function ( result ) {
733743 const splittedRes = result . stdout . split ( "\n" ) ;
0 commit comments