Skip to content

Commit 6489cab

Browse files
committed
update test w/ correct number of connections
1 parent 596788e commit 6489cab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/namespace_admin_test.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def setup_service_accounts(self):
4343

4444
def deploy_network_in_team_namespaces(self):
4545
network_name = "teamnet"
46+
up = "\x1b[A"
4647
down = "\x1b[B"
4748
self.log.info(f"Create a warnet network chart called '{network_name}'")
4849
child = pexpect.spawn("warnet init")
@@ -51,11 +52,12 @@ def deploy_network_in_team_namespaces(self):
5152
child.expect("Enter your network name")
5253
child.sendline(network_name)
5354
child.expect("How many nodes would you like")
54-
child.send(down)
55-
child.send(down)
56-
child.send(down)
55+
child.send(down) # > 20
56+
child.send(down) # > 50
57+
child.send(down) # > other
5758
child.sendline()
5859
child.expect("How many connections would you like each node to have")
60+
child.send(up) # > 2
5961
child.sendline()
6062
child.expect("Which version would you like nodes to run by default")
6163
child.sendline()

0 commit comments

Comments
 (0)