Skip to content

Commit

Permalink
test: properly skip lb incompatible tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakp committed Jul 22, 2022
1 parent 3ab1b54 commit 1605637
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ import { CmapTest, runCmapTestSuite, SkipDescription } from '../../tools/cmap_sp
// These tests rely on a simple "pool.clear()" command, which is not sufficient
// to properly clear the pool in LB mode, since it requires a serviceId to be passed in
const LB_SKIP_TESTS: SkipDescription[] = [
'must replace removed connections up to minPoolSize',
'must destroy checked in connection if it is stale',
'must destroy and must not check out a stale connection if found while iterating available connections'
'must destroy and must not check out a stale connection if found while iterating available connections',
'clearing pool clears the WaitQueue',
'pool clear halts background minPoolSize establishments',
'clearing a paused pool emits no events',
'after clear, cannot check out connections until pool ready',
'readying a ready pool emits no events'
].map(description => ({
description,
skipIfCondition: 'loadBalanced',
Expand Down

0 comments on commit 1605637

Please sign in to comment.