8000 JAVA-2770: Fix BoundStatementCcmIT · shkoder/java-driver@2783888 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2783888

Browse files
committed
< 8000 /div>
JAVA-2770: Fix BoundStatementCcmIT
1 parent ed6cc23 commit 2783888

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

integration-tests/src/test/java/com/datastax/oss/driver/core/cql/BoundStatementCcmIT.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ public void should_propagate_attributes_when_preparing_a_simple_statement() {
280280
.getDefaultProfile()
281281
// Value doesn't matter, we just want a distinct profile
282282
.withDuration(DefaultDriverOption.REQUEST_TIMEOUT, Duration.ofSeconds(10));
283-
String mockConfigProfileName = "mockConfigProfileName";
284283
ByteBuffer mockPagingState = Bytes.fromHexString("0xaaaa");
285284
CqlIdentifier mockKeyspace =
286285
supportsPerRequestKeyspace(session) ? CqlIdentifier.fromCql("system") : null;
@@ -297,7 +296,6 @@ public void should_propagate_attributes_when_preparing_a_simple_statement() {
297296
SimpleStatementBuilder simpleStatementBuilder =
298297
SimpleStatement.builder("SELECT release_version FROM system.local")
299298
.setExecutionProfile(mockProfile)
300-
.setExecutionProfileName(mockConfigProfileName)
301299
.setPagingState(mockPagingState)
302300
.setKeyspace(mockKeyspace)
303301
.setRoutingKeyspace(mockRoutingKeyspace)
@@ -326,7 +324,6 @@ public void should_propagate_attributes_when_preparing_a_simple_statement() {
326324
BoundStatement boundStatement = createMethod.apply(preparedStatement);
327325

328326
assertThat(boundStatement.getExecutionProfile()).isEqualTo(mockProfile);
329-
assertThat(boundStatement.getExecutionProfileName()).isEqualTo(mockConfigProfileName);
330327
assertThat(boundStatement.getPagingState()).isEqualTo(mockPagingState);
331328
assertThat(boundStatement.getRoutingKeyspace())
332329
.isEqualTo(mockKeyspace != null ? mockKeyspace : mockRoutingKeyspace);

0 commit comments

Comments
 (0)
0