Set timezone for Logs Correlation test

Fixes a local timezone issue with centos-8-stream
This commit is contained in:
Justin Stephenson 2021-01-13 09:35:12 -05:00
parent fcfc5f40f8
commit 255a8bdde1

View file

@ -283,7 +283,9 @@ class TestApplication(MachineCase):
self.assertNotEqual(b.attr(".dragnpan", "scrollLeft"), 0) self.assertNotEqual(b.attr(".dragnpan", "scrollLeft"), 0)
def testLogCorrelation(self): def testLogCorrelation(self):
b, _ = self._login() b, m = self._login()
# make sure system is on expected timezone EST
m.execute("timedatectl set-timezone America/New_York")
# select the recording with the extra logs # select the recording with the extra logs
self._sel_rec('rec2') self._sel_rec('rec2')
b.click("#btn-logs-view .pf-c-expandable-section__toggle") b.click("#btn-logs-view .pf-c-expandable-section__toggle")