Commit 4ee5c8a1 authored by Lu Xu's avatar Lu Xu 👀

fixup

parent 2bde133a
......@@ -370,11 +370,13 @@ class WebsocketTestClass(e2e.EndToEndTestCase):
self.assertFalse(self.ue_get()['power_on'], "UE already powered on")
self.send({"message": "power_on", "ue_id": ue_id})
self.recv()
time.sleep(30)
def power_off(self, ue_id):
self.assertTrue(self.ue_get()['power_on'], "UE already powered off")
self.send({"message": "power_off", "ue_id": ue_id})
self.recv()
time.sleep(30)
class BBUTest(WebsocketTestClass):
......@@ -398,7 +400,6 @@ class BBUTest(WebsocketTestClass):
try:
self.power_on(ue_id)
time.sleep(30)
result = self.ue_get()
self.logger.info(result)
self.assertIn('pdn_list', result, "UE didn't connect")
......@@ -427,7 +428,6 @@ class BBUTest(WebsocketTestClass):
try:
self.power_on(ue_id)
time.sleep(30)
result = self.ue_get()
self.logger.info(result)
self.assertNotIn('pdn_list', result)
......
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