opa icon indicating copy to clipboard operation
opa copied to clipboard

Add server test case for the bundle update - query API handler scenario

Open ashutosh-narkar opened this issue 3 years ago • 0 comments

The query API handler (ie. v1DataPost) should accept client requests even when OPA is performing bundle activation. A recent change updated v1DataPost handler to open a read txn on the store which would prevent api requests from being blocked while a bundle is activating. We should add a server test to exercise this scenario. The test case would open a write transaction on the store and then simulate client requests to ensure that the server still processes them.

ashutosh-narkar avatar Jun 17 '22 19:06 ashutosh-narkar