Skip to content

Commit

Permalink
fix label
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Nov 2, 2023
1 parent 5ef3f3c commit bf3843f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
[
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/vpc/test_vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit bf3843f

Please sign in to comment.