New to Fauna.
In test cases we are injecting a (connected) FaunaClient into the test classes. The first test runs fine but the second always fails with the error:
Caused by: com.faunadb.client.errors.UnauthorizedException at FaunaClient.java:367
Any thoughts on what causes the error ?
Running individual test works fine.
What is the best practice for sharing faunaclient across tests , threads , connection pooling ?