PR doesn't have as much changes as the diff suggests. Tests were re-organized so those can run regardless of the database topology:
Single node
Secure (still single node but with certificates configured)
Cluster (3 nodes)
Tests were almost gathered based on the scope of the ESDB api minus one caveat (Expectations):
Streams
Persistent Subscriptions.
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.
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.