Skip to content

Commit

Permalink
test(NODE-3777): check topology filter on evg
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 3, 2022
1 parent 1e19b5b commit 90a1b26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tools/runner/filters/mongodb_topology_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class MongoDBTopologyFilter {
}

filter(test) {
console.log(test);
if (!test.metadata) return true;
if (!test.metadata.requires) return true;
if (!test.metadata.requires.topology) return true;
Expand All @@ -39,6 +40,7 @@ class MongoDBTopologyFilter {
);
}

console.log(this.runtimeTopology, topologies);
const isExclusion = topologies[0][0] === '!';
if (isExclusion) {
if (!topologies.every(topology => topology.startsWith('!'))) {
Expand Down

0 comments on commit 90a1b26

Please sign in to comment.