From bf3843fe2278bd5ada7f88dc17ae8b84af5b08cf Mon Sep 17 00:00:00 2001 From: ykim-1 Date: Thu, 2 Nov 2023 11:16:10 -0700 Subject: [PATCH] fix label --- tests/integration/conftest.py | 8 ++++---- tests/integration/vpc/test_vpc.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 0dabf47ce..f89cb0304 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -380,7 +380,7 @@ def create_nodebalancer_with_default_conf(): def test_vpc_wo_subnet(): region = get_regions_with_vpcs_capabilties()[0] - label = str(int(time.time_ns())) + "label" + label = str(time.time_ns()) + "label" vpc_id = ( exec_test_command( @@ -410,9 +410,9 @@ def test_vpc_wo_subnet(): def test_vpc_w_subnet(): region = get_regions_with_vpcs_capabilties()[0] - vpc_label = str(int(time.time_ns())) + "label" + vpc_label = str(time.time_ns()) + "label" - subnet_label = str(int(time.time_ns())) + "label" + subnet_label = str(time.time_ns()) + "label" vpc_id = ( exec_test_command( @@ -445,7 +445,7 @@ def test_vpc_w_subnet(): @pytest.fixture def test_subnet(test_vpc_wo_subnet): vpc_id = test_vpc_wo_subnet - subnet_label = str(int(time.time_ns())) + "label" + subnet_label = str(time.time_ns()) + "label" res = ( exec_test_command( [ diff --git a/tests/integration/vpc/test_vpc.py b/tests/integration/vpc/test_vpc.py index 8f10d2ec9..522f9a662 100644 --- a/tests/integration/vpc/test_vpc.py +++ b/tests/integration/vpc/test_vpc.py @@ -37,7 +37,7 @@ def test_view_vpc(test_vpc_wo_subnet): def test_update_vpc(test_vpc_wo_subnet): vpc_id = test_vpc_wo_subnet - new_label = str(int(time.time_ns())) + "label" + new_label = str(time.time_ns()) + "label" updated_label = ( exec_test_command( @@ -123,7 +123,7 @@ def test_view_subnet(test_vpc_wo_subnet, test_subnet): def test_update_subnet(test_vpc_w_subnet): vpc_id = test_vpc_w_subnet - new_label = str(int(time.time_ns())) + "label" + new_label = str(time.time_ns()) + "label" subnet_id = ( exec_test_command(