Commit 10c8708d authored by David Hancock's avatar David Hancock

Reduce sleeps in vib_client

parent 2c27df2e
......@@ -148,7 +148,6 @@ class VibrantManager(ChainSliceManager):
resp = self.do_vdev_interpret(dec_vdev + ' bmv2 table_add ' + rule[0])
handle = resp.split('handle: ')[1]
self.dec_vdev_handles[(dec_vdev, rule[1])] = int(handle)
time.sleep(0.5)
#resp = self.do_vdev_interpretf(dec_vdev + ' bmv2 tests/t10/commands_slice1_vib_dec.txt')
resp = self.do_vdev_interpret(dec_vdev + ' bmv2 ' \
......@@ -169,7 +168,7 @@ class VibrantManager(ChainSliceManager):
resp = self.do_vdev_interpret(enc_vdev + ' bmv2 table_add ' + rule[0])
handle = resp.split('handle: ')[1]
self.enc_vdev_handles[(enc_vdev, rule[1])] = int(handle)
time.sleep(0.5)
print("===== " + enc_vdev + " ready =====")
time.sleep(2.5)
......@@ -177,7 +176,7 @@ class VibrantManager(ChainSliceManager):
dec_vdev = device + '_vib_dec'
self.do_lease_insert(device + ' ' + dec_vdev + ' 0 efalse')
print("===== Inserted " + dec_vdev + " =====")
sleep(5)
time.sleep(5)
for device in line.split()[2:]:
enc_vdev = device + '_vib_enc'
......@@ -185,7 +184,7 @@ class VibrantManager(ChainSliceManager):
+ '/commands_slice1_' + device + '_vib_enc.txt')
self.do_lease_append(device + ' ' + enc_vdev + ' efalse')
print("===== Inserted " + enc_vdev + " =====")
sleep(5)
time.sleep(5)
print ("Complete")
print (time.strftime("%H:%M:%S"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment