Skip to content

Commit

Permalink
test: fix couchbase test for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash-sivan committed Dec 12, 2024
1 parent d35d509 commit 577e461
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/collector/test/tracing/database/couchbase/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ async function configureCouchbase() {
const couchbaseVersions = ['latest', 'v443'];

couchbaseVersions.forEach(version => {
// NOTE: require-mock is not working with esm apps. There is also no need to run the ESM APP for all versions.
if (process.env.RUN_ESM && version !== 'latest') return;

// NOTE: it takes 1-2 minutes till the couchbase server can be reached via docker
mochaSuiteFn(`tracing/couchbase@${version}`, function () {
this.timeout(config.getTestTimeout() * 4);
Expand Down

0 comments on commit 577e461

Please sign in to comment.