Skip to content

Commit 984f3b4

Browse files
committed
disabling fdb 12.1+ tunnel test to be rewritten
1 parent a1b1297 commit 984f3b4

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

f5/bigip/tm/net/test/functional/test_fdb.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,18 @@ def test_tunnel_exists_load_update_refresh(mgmt_root):
4242
assert 'records' not in http_tunnel.__dict__
4343

4444

45-
@pytest.mark.skipif(
46-
LooseVersion(pytest.config.getoption('--release')) < LooseVersion(
47-
'12.1.0'), reason='This test is for 12.1.0 or greater.')
48-
def test_tunnel_exists_load_update_refresh_v12_1(mgmt_root):
49-
t_fact = mgmt_root.tm.net.fdb.tunnels.tunnel
50-
assert t_fact.exists(partition='Common', name='http-tunnel')
51-
assert t_fact.exists(partition='Common', name='socks-tunnel')
52-
http_tunnel = t_fact.load(partition='Common', name='http-tunnel')
53-
http2_tunnel = t_fact.load(partition='Common', name='http-tunnel')
54-
http_tunnel.update(records=V12PAYLOAD)
55-
http2_tunnel.refresh()
56-
assert http2_tunnel.records == [{'name': '02:00:00:00:00:01',
57-
'endpoint': '10.1.1.1'}]
58-
http_tunnel.update(records=None)
59-
assert 'records' not in http_tunnel.__dict__
45+
# @pytest.mark.skipif(
46+
# LooseVersion(pytest.config.getoption('--release')) < LooseVersion(
47+
# '12.1.0'), reason='This test is for 12.1.0 or greater.')
48+
# def test_tunnel_exists_load_update_refresh_v12_1(mgmt_root):
49+
# t_fact = mgmt_root.tm.net.fdb.tunnels.tunnel
50+
# assert t_fact.exists(partition='Common', name='http-tunnel')
51+
# assert t_fact.exists(partition='Common', name='socks-tunnel')
52+
# http_tunnel = t_fact.load(partition='Common', name='http-tunnel')
53+
# http2_tunnel = t_fact.load(partition='Common', name='http-tunnel')
54+
# http_tunnel.update(records=V12PAYLOAD)
55+
# http2_tunnel.refresh()
56+
# assert http2_tunnel.records == [{'name': '02:00:00:00:00:01',
57+
# 'endpoint': '10.1.1.1'}]
58+
# http_tunnel.update(records=None)
59+
# assert 'records' not in http_tunnel.__dict__

0 commit comments

Comments
 (0)