aristanetworks / cvprac

Other
46 stars 47 forks source link

Update tags/workspace test to handle test actions completing slow #231

Closed mharista closed 1 year ago

mharista commented 1 year ago

CVP 2022.1.1 :

======================================================================
FAIL: test_api_tags (test_cvp_client_api.TestCvpClient)
Test Tags Resource API Endpoints
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/gslab-dev/cvprac_pipeline/cvprac/test/system/test_cvp_client_api.py", line 2378, in test_api_tags
    self.assertEqual(result['value']['needsBuild'], False)
AssertionError: True != False
----------------------------------------------------------------------
Ran 123 tests in 889.096s

CVP 2021.2.2 :

======================================================================
FAIL: test_api_tags (test_cvp_client_api.TestCvpClient)
Test Tags Resource API Endpoints
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/gslab-dev/cvprac_pipeline/cvprac/test/system/test_cvp_client_api.py", line 2402, in test_api_tags
    self.assertEqual('WORKSPACE_STATE_SUBMITTED',
AssertionError: 'WORKSPACE_STATE_SUBMITTED' != 'WORKSPACE_STATE_PENDING'
- WORKSPACE_STATE_SUBMITTED
+ WORKSPACE_STATE_PENDING
----------------------------------------------------------------------