diff options
author | Robin Appelman <robin@icewind.nl> | 2024-07-18 17:22:02 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-08-28 10:21:19 +0200 |
commit | 4d9b563d22fd4f51a735e6f53ada9315c959d373 (patch) | |
tree | 0138c43f07e96019a36a9fa43552a153277cb17e /tests | |
parent | fc05a67f192eb96870b02f574d14318792c46cf5 (diff) | |
download | nextcloud-server-4d9b563d22fd4f51a735e6f53ada9315c959d373.tar.gz nextcloud-server-4d9b563d22fd4f51a735e6f53ada9315c959d373.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, + ], + ] + ] + ]; +} |