Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Brockbank committed Jan 20, 2018
1 parent 8a2d039 commit 223e1a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions calico_node/tests/st/bgp/test_ipip.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def test_ipip(self, backend):
self.modify_subnet(host2, 32)
self.assert_ipip_routing(host1, workload_host1, workload_host2,
True)
test_ipip.batchnumber = 4

def test_ipip_addr_assigned(self):
with DockerHost('host', dind=False, start_calico=False) as host:
Expand Down Expand Up @@ -169,6 +170,7 @@ def test_ipip_addr_assigned(self):
self.pool_action(host, "create", new_ipv4_pool, True)
self.pool_action(host, "delete", ipv4_pool, True)
self.assert_tunl_ip(host, new_ipv4_pool)
test_ipip_addr_assigned.batchnumber = 4

@parameterized.expand([
('bird',),
Expand Down Expand Up @@ -232,7 +234,7 @@ def test_issue_1584(self, backend):
# on the current IPIP mode (only a mode of Always will use the tunnel).
host1.execute("docker rm -f calico-node")
self.assert_ipip_routing(host1, workload_host1, workload_host2,
modes[-1] == "Always")
modes[-1] == "always")

# Update the IPIP mode.
self.pool_action(host1, "replace", DEFAULT_IPV4_POOL_CIDR, mode is not None, ipip_mode=mode)
Expand All @@ -250,7 +252,8 @@ def test_issue_1584(self, backend):
# on host1 fixes the route.
host1.start_calico_node("--ip=autodetect --backend={0}".format(backend))
self.assert_ipip_routing(host1, workload_host1, workload_host2,
modes[-1] == "Always")
modes[-1] == "lways")
test_issue_1584.batchnumber = 4

def pool_action(self, host, action, cidr, ipip, disabled=False, ipip_mode="", calicoctl_version=None):
"""
Expand Down

0 comments on commit 223e1a8

Please sign in to comment.