Wifi 13874 (#953)

* Added more logs to asb script

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

* Increased sleep time after factory reset for ASB tests

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>

---------

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
Jitendrakumar Kushavah
2024-06-27 15:38:17 +05:30
committed by GitHub
parent 8d98e38daa
commit 016f766466
2 changed files with 3 additions and 1 deletions

View File

@@ -579,7 +579,7 @@ class APLIBS:
expected_attachment_type=allure.attachment_type.TEXT,
restrictions=True)
self.factory_reset(print_log=False)
time.sleep(120)
time.sleep(300)
return output

View File

@@ -918,8 +918,10 @@ class Controller(ConfigureController):
def asb_script(self, serial_number, payload):
uri = self.build_uri("device/" + serial_number + "/script")
logging.info("uri:- " + str(uri))
payload = json.dumps(payload)
resp = requests.post(uri, data=payload, headers=self.make_headers(), verify=False, timeout=120)
logging.info("resp:- " + str(resp))
resp = resp.json()
resp = resp['UUID']
return resp