I believe this has been covered before, but I cannot seem to find the old thread.
Whenever we run an integration/functional test, we flush testing bucket before running the tests. It is very hard to control behavior of bucket for testing.
delete from bucketName
- insert a document
- try to find the document with get() method.
- I get document does not exist exception. However, when I look up the document with a value with n1ql, then it works.
This happens both on 4.0 and 4.1.
Is there anyway to workaround this issue?
it’s impossible to run tests. I have to run each test one by one.