Skip to content
Snippets Groups Projects
Commit 0ff7e32b authored by Ryan Senior's avatar Ryan Senior
Browse files

Fix `Unauthenticated` nested query test failures

Ensure the spected HTTP status code is included in
`metabase.query-processor-test.nested-queries-test` POSTs as when it
is not included our `retry` unauthenticated logic doesn't get
executed. Depending on the test order, the database and mock session
store might be out of sync and not retry authentication failures.

Fixes #7490
parent ed906f8c
No related branches found
No related tags found
No related merge requests found
......@@ -525,7 +525,7 @@
(tt/with-temp Card [card {:dataset_query {:database db-id
:type :native
:native {:query "SELECT * FROM VENUES"}}}]
((user->client :rasta) :post "card"
((user->client :rasta) :post expected-status-code "card"
{:name (tu/random-name)
:display "scalar"
:visualization_settings {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment