Commit 4e93977
committed
Fix MockedDriverContextFactory for LWT routing method mock
The DefaultLoadBalancingPolicy constructor reads
LOAD_BALANCING_DEFAULT_LWT_REQUEST_ROUTING_METHOD which was missing
from the mocked profile, causing NPE in StartupOptionsBuilderTest.1 parent 2451315 commit 4e93977
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- core/src/test/java/com/datastax/oss/driver/internal/core/context
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments