Skip to content

Commit

Permalink
Fix feature replication tests
Browse files Browse the repository at this point in the history
Issue: BB-615
  • Loading branch information
KillianG committed Nov 22, 2024
1 parent 0516c2e commit 0fafbc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/run_ft_tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ killandsleep () {
sleep 10
}

docker run -p $PORT:8000 -d $CLOUDSERVER_IMAGE /bin/sh -c "yarn run mem_backend" & bash tests/utils/wait_for_local_port.bash $PORT 40 && yarn run mem_backend & bash tests/utils/wait_for_local_port.bash $PORT 40
docker run -p $PORT:8000 -d $CLOUDSERVER_IMAGE /bin/sh -c "yarn run mem_backend" & bash tests/utils/wait_for_local_port.bash $PORT 40
./node_modules/.bin/nyc --clean --silent yarn run $1
./node_modules/.bin/nyc report --report-dir "./coverage/$1" --reporter=lcov
4 changes: 4 additions & 0 deletions tests/functional/replication/queueProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,12 @@ class S3Mock extends TestConfigurator {
status: 'PENDING',
dataStoreVersionId: '',
}],
dataStoreVersionId: '',
content: replicatedContent,
destination: this.getParam('source.md.replicationInfo.destination'),
storageClass: 'sf,toazure',
role: this.getParam('source.md.replicationInfo.role'),
storageType: '',
});
assert.strictEqual(parsedMd['owner-id'],
this.getParam('target.canonicalId'));
Expand Down Expand Up @@ -661,6 +663,8 @@ class S3Mock extends TestConfigurator {
status: 'PENDING',
dataStoreVersionId: '',
}],
dataStoreVersionId: '',
storageType: '',
content: this.getParam('source.md.replicationInfo.content'),
destination: this.getParam('source.md.replicationInfo.destination'),
storageClass: 'sf,toazure',
Expand Down

0 comments on commit 0fafbc5

Please sign in to comment.