Skip to content

Commit

Permalink
[Test] Removing colour from output of ip command (#6586)
Browse files Browse the repository at this point in the history
Co-authored-by: Himani Deshpande <[email protected]>
  • Loading branch information
himani2411 and Himani Deshpande authored Dec 5, 2024
1 parent e85cfd5 commit 0ae3a79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def _test_head_node_nics(remote_command_executor, region):
).stdout

head_node_ip_addresses = _get_private_ip_addresses(head_node_instance_id, region, remote_command_executor)
ip_a_result = remote_command_executor.run_remote_command("ip a").stdout
ip_a_result = remote_command_executor.run_remote_command("ip a | col -b").stdout

for ip_address in head_node_ip_addresses:
assert_that(ip_a_result).matches(".* inet {0}.*".format(ip_address))
Expand Down

0 comments on commit 0ae3a79

Please sign in to comment.