Skip to content

Commit fcc5f43

Browse files
Test
Signed-off-by: Madhuri Upadhye <[email protected]>
1 parent b0e159f commit fcc5f43

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/tests/system/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ git+https://github.com/next-actions/pytest-mh
55
git+https://github.com/next-actions/pytest-ticket
66
git+https://github.com/next-actions/pytest-tier
77
git+https://github.com/next-actions/pytest-output
8-
git+https://github.com/SSSD/sssd-test-framework
8+
#git+https://github.com/SSSD/sssd-test-framework
9+
git+https://github.com/madhuriupadhye/sssd-test-framework@ipv6

src/tests/system/tests/test_failover.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,11 @@ def test_failover__connect_using_ipv6_only(client: Client, provider: GenericProv
131131
:customerscenario: False
132132
"""
133133
user = provider.user("testuser").add()
134-
client.sssd.domain["lookup_family_order"] = "ipv6_only"
135-
ipv6_add = provider.host.conn.run("ip -6 addr show scope global | grep -oE 'inet6 [0-9a-f:]+' | awk '{print $2}'")
136-
print(ipv6_add.stdout)
137-
client.fs.append("/etc/hosts", f"{ipv6_add.stdout}\t{provider.host.hostname}")
134+
client.sssd.domain["lookup_family_order"] = "ipv6_first"
135+
#ipv6_add = provider.host.conn.run("ip -6 addr show scope global | grep -oE 'inet6 [0-9a-f:]+' | awk '{print $2}'")
136+
#print(ipv6_add.stdout)
137+
random_ipv4_adds = "10.37.153.122"
138+
client.fs.append("/etc/hosts", f"{random_ipv4_adds}\t{provider.host.hostname}")
138139
client.sssd.start()
139140

140141
result = client.tools.id(user.name)

0 commit comments

Comments
 (0)