diff options
author | Robin Appelman <robin@icewind.nl> | 2024-07-18 17:22:02 +0200 |
---|---|---|
committer | Louis <louis@chmn.me> | 2024-08-28 14:54:14 +0200 |
commit | 22f76fca59dc9cb0681ce5d9de1c9ef0486b45df (patch) | |
tree | 8845659505d0884a34f16944e4c6ce303fd4ba32 /tests | |
parent | 3e5193957b7fa0fc913ca470d66818325569c0ef (diff) | |
download | nextcloud-server-22f76fca59dc9cb0681ce5d9de1c9ef0486b45df.tar.gz nextcloud-server-22f76fca59dc9cb0681ce5d9de1c9ef0486b45df.zip |
test: run sharding tests in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/preseed-config.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/preseed-config.php b/tests/preseed-config.php index 3739335676a..7c341278027 100644 --- a/tests/preseed-config.php +++ b/tests/preseed-config.php @@ -78,3 +78,24 @@ if (getenv('OBJECT_STORE') === 's3') { ] ]; } + +if (getenv('SHARDING') == '1') { + $CONFIG['dbsharding'] = [ + "filecache" => [ + "shards" => [ + [ + "port" => 5001, + ], + [ + "port" => 5002, + ], + [ + "port" => 5003, + ], + [ + "port" => 5004, + ], + ] + ] + ]; +} |