-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix usage of send_credential_ack #1653
Fix usage of send_credential_ack #1653
Conversation
Signed-off-by: Andrew Whitehead <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1653 +/- ##
=======================================
Coverage 95.50% 95.50%
=======================================
Files 528 528
Lines 32737 32737
=======================================
Hits 31267 31267
Misses 1470 1470 |
From my testing this does not fix the errors on AATH, but check my process and results. It looks like it is different:
Same set of test fail:
Error in main branch: AssertionError: FAILED SUB-STEP: Given "Bob" has an issued credential from Acme\nSubstep info: Assertion Failed: FAILED SUB-STEP: And "Bob" acknowledges the credential issue\nSubstep info: Assertion Failed: resp_status 500 is not 200; 500 Internal Server Error\n\nServer got itself in trouble\nTraceback (of failed substep):\n File "/usr/local/lib/python3.7/site-packages/behave/model.py", line 1329, in run\n match.run(runner.context)\n File "/usr/local/lib/python3.7/site-packages/behave/matchers.py", line 98, in run\n self.func(context, *args, **kwargs)\n File "features/steps/0036-issue-credential.py", line 383, in step_impl\n assert resp_status == 200, f"resp_status {resp_status} is not 200; {resp_text}"\n\nTraceback (of failed substep):\n File "/usr/local/lib/python3.7/site-packages/behave/model.py", line 1329, in run\n match.run(runner.context)\n File "/usr/local/lib/python3.7/site-packages/behave/matchers.py", line 98, in run\n self.func(context, *args, **kwargs)\n File "features/steps/0037-present-proof.py", line 123, in step_impl\n context.execute_steps(context_steps)\n File "/usr/local/lib/python3.7/site-packages/behave/runner.py", line 404, in execute_steps\n assert False, message\n\n", Error in Andrew's: "AssertionError: FAILED SUB-STEP: Given "Bob" has an issued credential from Acme\nSubstep info: Assertion Failed: FAILED SUB-STEP: And "Bob" acknowledges the credential issue\nSubstep info: Traceback (most recent call last):\n File "/usr/local/lib/python3.7/site-packages/behave/model.py", line 1329, in run\n match.run(runner.context)\n File "/usr/local/lib/python3.7/site-packages/behave/matchers.py", line 98, in run\n self.func(context, *args, **kwargs)\n File "features/steps/0036-issue-credential.py", line 385, in step_impl\n assert resp_json["state"] == "done"\nAssertionError\n\nTraceback (of failed substep):\n File "/usr/local/lib/python3.7/site-packages/behave/model.py", line 1329, in run\n match.run(runner.context)\n File "/usr/local/lib/python3.7/site-packages/behave/matchers.py", line 98, in run\n self.func(context, *args, **kwargs)\n File "features/steps/0036-issue-credential.py", line 385, in step_impl\n assert resp_json["state"] == "done"\n\nTraceback (of failed substep):\n File "/usr/local/lib/python3.7/site-packages/behave/model.py", line 1329, in run\n match.run(runner.context)\n File "/usr/local/lib/python3.7/site-packages/behave/matchers.py", line 98, in run\n self.func(context, *args, **kwargs)\n File "features/steps/0037-present-proof.py", line 123, in step_impl\n context.execute_steps(context_steps)\n File "/usr/local/lib/python3.7/site-packages/behave/runner.py", line 404, in execute_steps\n assert False, message\n\n", |
@swcurran According to that it was throwing a 500 error from the API, and is now returning a different state than expected which is an improvement! |
I did see there isn’t a 500. Should we merge this and keep trying. |
Follow up to #1619