Skip to content

Commit

Permalink
Merge pull request #310 from lifeomic/fix-tests
Browse files Browse the repository at this point in the history
fix: make failing tests serial
  • Loading branch information
swain authored May 25, 2022
2 parents c52c088 + c754263 commit d339f75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/localstack/version13Status.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ test.after.always(async t => {
});

services.forEach(serviceName => {
test(`${serviceName} should be available`, async t => {
test.serial(`${serviceName} should be available`, async t => {
const { mappedServices } = t.context;
const service = mappedServices[serviceName];
await t.notThrowsAsync(service.isReady(service.client));
});

// It appears this is necessary to get code coverage.
test(`${serviceName} can configure a valid client`, async t => {
test.serial(`${serviceName} can configure a valid client`, async t => {
const { mappedServices } = t.context;
const { config, connection } = mappedServices[serviceName];
const client = LOCALSTACK_SERVICES[serviceName].getClient({ config, connection });
Expand Down

0 comments on commit d339f75

Please sign in to comment.