Skip to content

Commit

Permalink
[Tests] Fixed test latency to avoid strict time testing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMercenaries committed Dec 6, 2022
1 parent 55d0510 commit b95bf57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ def setUpClass(self):
self.firstSleepJobId = self.conn.newJob(command="sleep 2", title="First Job", state="WAITING", affinity="linux", priority=129)
self.secondSleepJobId = self.conn.newJob(command="sleep 2",
title="Second Job", state="WAITING", affinity="linux", priority=128)
self.windowsProjectJobId = self.conn.newJob(command="sleep 1", title="windows project", state="WAITING", affinity="windows project", priority=127)
self.winJobId = self.conn.newJob(command="sleep 1", title="Win", state="WAITING", affinity="win", priority=127)
self.dosJobId = self.conn.newJob(command="sleep 1", title="Dos", state="WAITING", affinity="dos", priority=127)
self.basicJobId = self.conn.newJob(command="sleep 1", title="Basic",
self.windowsProjectJobId = self.conn.newJob(command="sleep 2", title="windows project", state="WAITING", affinity="windows project", priority=127)
self.winJobId = self.conn.newJob(command="sleep 2", title="Win", state="WAITING", affinity="win", priority=127)
self.dosJobId = self.conn.newJob(command="sleep 2", title="Dos", state="WAITING", affinity="dos", priority=127)
self.basicJobId = self.conn.newJob(command="sleep 2", title="Basic",
state="WAITING", priority=300)

@classmethod
Expand Down

0 comments on commit b95bf57

Please sign in to comment.