Submitted By: khoa.nguyen
Topic: PR Review
Team: Backend Support
vets-api check is currently failing this. Can anyone take a look at this please?
Check warning on line 0 in ./modules/mobile/spec/request/user_request_spec.rb
@github-actionsgithub-actions
/ Test Results
user GET /mobile/v0/user when the upstream va profile service returns a 502 returns a service unavailable error (modules.mobile.spec.request.user_request_spec) failed
Test Results/rspec12.xml [took 0s]
expected the response to have status code :bad_gateway (502) but it was :unauthorized (401)
\e[1mFailure/Error: \e[0mexpect(response).to have_http_status(:bad_gateway)
expected the response to have status code :bad_gateway (502) but it was :unauthorized (401)
/usr/local/bundle/gems/super_diff-0.10.0/lib/super_diff/rspec/monkey_patches.rb:45:in handle_failure' ./modules/mobile/spec/request/user_request_spec.rb:258:inblock (4 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in block (2 levels) in <top (required)>' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:inblock in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in loop' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:inrun'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in run_with_retry' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:inblock (2 levels) in setup'
Submitted By: khoa.nguyen Topic: PR Review Team: Backend Support
vets-api
check is currently failing this. Can anyone take a look at this please?Check warning on line 0 in ./modules/mobile/spec/request/user_request_spec.rb
@github-actionsgithub-actions / Test Results user GET /mobile/v0/user when the upstream va profile service returns a 502 returns a service unavailable error (modules.mobile.spec.request.user_request_spec) failed Test Results/rspec12.xml [took 0s] expected the response to have status code :bad_gateway (502) but it was :unauthorized (401) \e[1mFailure/Error: \e[0mexpect(response).to have_http_status(:bad_gateway) expected the response to have status code :bad_gateway (502) but it was :unauthorized (401) /usr/local/bundle/gems/super_diff-0.10.0/lib/super_diff/rspec/monkey_patches.rb:45:in
handle_failure' ./modules/mobile/spec/request/user_request_spec.rb:258:in
block (4 levels) in <top (required)>' /usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:inblock (2 levels) in <top (required)>' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in
block in run' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:inloop' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in
run' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:inrun_with_retry' /usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in
block (2 levels) in setup'