chore: pin crdb version for unit tests (#7260)

* chore: pin crdb version for unit tests

* use latest 23.1 version

* use latest available 23.1 version
This commit is contained in:
Livio Spring
2024-01-18 09:16:54 +01:00
committed by GitHub
parent af4e0484d0
commit 8470649ecb
4 changed files with 7 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ var (
)
func TestMain(m *testing.M) {
ts, err := testserver.NewTestServer()
ts, err := testserver.NewTestServer(testserver.CustomVersionOpt(os.Getenv("ZITADEL_CRDB_VERSION")))
if err != nil {
logging.WithFields("error", err).Fatal("unable to start db")
}