Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit 60ed022

Browse files
pranjal10yaminikb
authored andcommitted
NoBug: Re-enable jdbc_all.SqlTracing. Sql Tracing Test (#22169)
* Enabling jdbc tracingsql tests * Adding connector_all test group
1 parent a2841a4 commit 60ed022

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

appserver/tests/appserv-tests/devtests/jdbc/build.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@
138138
<ant dir="dmmcf" target="all"/>
139139
<ant dir="dmmcf.markconnectionasbad.xa" target="all"/>
140140
<ant dir="dmmcf.appclient" target="all"/>
141-
<!-- Temporarily disabling this test as there is a Derby compatibility issue-->
142-
<!--ant dir="tracingsql" target="all"/-->
141+
<ant dir="tracingsql" target="all"/>
143142
<ant dir="datasource40" target="all"/>
144143
<ant dir="custom-validation" target="all"/>
145144
<ant dir="custom-validation-1" target="all"/>

appserver/tests/appserv-tests/devtests/jdbc/tracingsql/sql/create_pointbase.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ CREATE TABLE expected_sql_trace (
3333
);
3434

3535

36-
INSERT INTO expected_sql_trace VALUES('org.apache.derby.client.net.NetConnection40', 'prepareStatement', 'select * from customer_stmt_wrapper;1003;1007;');
36+
INSERT INTO expected_sql_trace VALUES('org.apache.derby.client.net.NetConnection', 'prepareStatement', 'select * from customer_stmt_wrapper;1003;1007;');
3737

3838
INSERT INTO expected_sql_trace VALUES('com.sun.gjc.spi.jdbc40.PreparedStatementWrapper40', 'getConnection', '');
3939

40-
INSERT INTO expected_sql_trace VALUES('org.apache.derby.client.net.NetConnection40', 'prepareStatement', 'INSERT INTO null_entry_table VALUES(?);1003;1007;');
40+
INSERT INTO expected_sql_trace VALUES('org.apache.derby.client.net.NetConnection', 'prepareStatement', 'INSERT INTO null_entry_table VALUES(?);1003;1007;');
4141

4242
INSERT INTO expected_sql_trace VALUES('com.sun.gjc.spi.jdbc40.PreparedStatementWrapper40', 'setString', '1;');
4343

appserver/tests/test_groups/gating

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ persistence_all
2626
webservice_all
2727
naming_all
2828
batch_all
29+
connector_all

0 commit comments

Comments
 (0)