Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure the e2e tests are running with different storage engines #2113

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions e2e/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ TIMEOUT?=168h
CLUSTER_NAME?=
NAMESPACE?=
CONTEXT?=
FDB_VERSION?=7.1.57
FDB_VERSION?=7.1.63
# This will be the version used for upgrade tests.
NEXT_FDB_VERSION?=7.3.33
NEXT_FDB_VERSION?=7.3.43
## Expectation is that you are running standard build image which generates both regular and debug (Symbols) images.
FDB_IMAGE?=foundationdb/foundationdb:$(FDB_VERSION)
UNIFIED_FDB_IMAGE?=foundationdb/fdb-kubernetes-monitor:$(FDB_VERSION)
Expand Down Expand Up @@ -46,6 +46,19 @@ else
FEATURE_SERVER_SIDE_APPLY=false
endif

# If the STORAGE_ENGINE environment variable is not defined the test suite will be randomly choosing between the ssd
# storage-engine (sqlite) or RocksDB. In the future we can add more storage engines for testing here, e.g. Redwood or
# sharded RocksDB.
ifndef STORAGE_ENGINE
RANDOM_INT=$(shell shuf -i 0-1 -n 1)
ifeq ($(RANDOM_INT), 0)
# Default case
STORAGE_ENGINE="ssd"
else
STORAGE_ENGINE="ssd-rocksdb-v1"
endif
endif

# Make bash pickier about errors.
SHELL=/bin/bash -euo pipefail

Expand Down
Loading