add concurrency test
This commit is contained in:
parent
70b9a7c566
commit
3b1ddb26c9
|
@ -1120,6 +1120,29 @@ def integration_tests():
|
||||||
elif i > total_n - last_n + 2:
|
elif i > total_n - last_n + 2:
|
||||||
assert gain > max_gain / 2.0
|
assert gain > max_gain / 2.0
|
||||||
|
|
||||||
|
# ------------------- concurrency test ----------------------
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='2__',
|
||||||
|
upload_code='ottertuneTestTuningDNN')
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='3__',
|
||||||
|
upload_code='ottertuneTestTuningDNN')
|
||||||
|
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='2__',
|
||||||
|
upload_code='ottertuneTestTuningGPR')
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='3__',
|
||||||
|
upload_code='ottertuneTestTuningGPR')
|
||||||
|
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='2__',
|
||||||
|
upload_code='ottertuneTestTuningDDPG')
|
||||||
|
upload_result(result_dir='./integrationTests/data/', prefix='3__',
|
||||||
|
upload_code='ottertuneTestTuningDDPG')
|
||||||
|
|
||||||
|
response = get_result(upload_code='ottertuneTestTuningDNN')
|
||||||
|
assert response['status'] == 'good'
|
||||||
|
response = get_result(upload_code='ottertuneTestTuningGPR')
|
||||||
|
assert response['status'] == 'good'
|
||||||
|
response = get_result(upload_code='ottertuneTestTuningDDPG')
|
||||||
|
assert response['status'] == 'good'
|
||||||
|
|
||||||
LOG.info("\n\nIntegration Tests: PASSED!!\n")
|
LOG.info("\n\nIntegration Tests: PASSED!!\n")
|
||||||
|
|
||||||
# Test task status UI
|
# Test task status UI
|
||||||
|
|
Loading…
Reference in New Issue