Skip to content

Commit cc5495c

Browse files
committed
test rs-to-sc
1 parent 82effb4 commit cc5495c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/all.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,14 @@ jobs:
4141
srcConnStr: mongodb://localhost:27020,localhost:27021,localhost:27022
4242
dstConnStr: mongodb://localhost:27030,localhost:27031,localhost:27032
4343

44+
- name: replset-to-sharded
45+
dstArgs: --sharded 2
46+
srcConnStr: mongodb://localhost:27020,localhost:27021,localhost:27022
47+
dstConnStr: mongodb://localhost:27030
48+
4449
- name: sharded
45-
args: --sharded 2
50+
srcArgs: --sharded 2
51+
dstArgs: --sharded 2
4652
srcConnStr: mongodb://localhost:27020
4753
dstConnStr: mongodb://localhost:27030
4854

@@ -82,8 +88,8 @@ jobs:
8288
- name: Start clusters
8389
run: |-
8490
{
85-
echo mlaunch init --binarypath $(cat .srcpath) --port 27020 --dir src --replicaset ${{ matrix.topology.args }}
86-
echo mlaunch init --binarypath $(cat .dstpath) --port 27030 --dir dst --replicaset ${{ matrix.topology.args }}
91+
echo mlaunch init --binarypath $(cat .srcpath) --port 27020 --dir src --replicaset ${{ matrix.topology.srcArgs }}
92+
echo mlaunch init --binarypath $(cat .dstpath) --port 27030 --dir dst --replicaset ${{ matrix.topology.dstArgs }}
8793
echo mlaunch init --binarypath $(cat .metapath) --port 27040 --dir meta --replicaset --nodes 1
8894
} | parallel
8995

0 commit comments

Comments
 (0)