Beispiel #1
0
 def testTimeout(self):
     with self.assertMaxDuration(1.2):
         iscsi.rescan()
Beispiel #2
0
 def testWait(self):
     with self.assertMaxDuration(0.3):
         iscsi.rescan()
Beispiel #3
0
 def testSlow(self):
     self._timeout = 60
     with self.assertMaxDuration(3):
         iscsi.rescan(1, 2)
Beispiel #4
0
 def testFast(self):
     self._timeout = 0
     with self.assertMinDuration(2):
         iscsi.rescan(2, 4)
Beispiel #5
0
 def testTimeout(self):
     with self.assertMaxDuration(1.2):
         iscsi.rescan()
Beispiel #6
0
 def testWait(self):
     with self.assertMaxDuration(0.3):
         iscsi.rescan()