EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
61 stars 19 forks source link

Add secure and cluster tests. #236

Closed YoEight closed 9 months ago

YoEight commented 11 months ago

Changed: Add secure and cluster tests.

PR doesn't have as much changes as the diff suggests. Tests were re-organized so those can run regardless of the database topology:

Tests were almost gathered based on the scope of the ESDB api minus one caveat (Expectations):

Expectations tests are based on the image produced by the testdata repo. Those tests run a prepopulated database so we can test invariant behaviours across all clients. Those expectations tests are mostly reads operations including (persistent) subscriptions. There are projection tests too. Expectations tests do not run on a cluster, just single node setup.

Finally, this PR adds a dispatch action so we can test a specific server version manually. The version should match a version we deployed on our main repo docker registry.

linear[bot] commented 11 months ago
DB-334 Improve Java client testing

We do not have tests running on a cluster for example.