зеркало из https://github.com/Azure/WALinuxAgent.git
Skip test on alma and rocky until we investigate (#3047)
This commit is contained in:
Родитель
4f6d98422b
Коммит
b498fd54c2
|
@ -121,9 +121,11 @@ class PublishHostname(AgentVmTest):
|
|||
sleep(30)
|
||||
|
||||
def run(self):
|
||||
# TODO: Investigate why hostname is not being published on Ubuntu as expected
|
||||
if "ubuntu" in self._ssh_client.run_command("get_distro.py").lower():
|
||||
raise TestSkipped("Known issue with hostname publishing on ubuntu. Will skip test until we continue "
|
||||
# TODO: Investigate why hostname is not being published on Ubuntu, alma, and rocky as expected
|
||||
distros_with_known_publishing_issues = ["ubuntu", "alma", "rocky"]
|
||||
distro = self._ssh_client.run_command("get_distro.py").lower()
|
||||
if any(d in distro for d in distros_with_known_publishing_issues):
|
||||
raise TestSkipped("Known issue with hostname publishing on this distro. Will skip test until we continue "
|
||||
"investigation.")
|
||||
|
||||
# Add password to VM and log. This allows us to debug with serial console if necessary
|
||||
|
|
Загрузка…
Ссылка в новой задаче