Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flaky test] Fix basic auth integration test (#15561)
Database slowness while doing audits seems to be causing flakiness in auth ITs. The failing test is almost always `ITBasicAuthConfigurationTest.test_avaticaQuery_datasourceAndContextParamsUser` but in some rare cases, other tests fail too. Alternately, this failing test has been seen to pass too. It is most likely because the auth changes are not able to propagate in time from the coordinator to other services. Fix: Just log the audits rather than persisting them to database. Most audits have been newly added and it is okay to not have them persisted. Moreover, logging audits can also be more beneficial while debugging an IT.
- Loading branch information