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

Commit

Permalink
NoBug: Re-enable jdbc_all.SqlTracing. Sql Tracing Test (#22169)
Browse files Browse the repository at this point in the history
* Enabling jdbc tracingsql tests
* Adding connector_all test group
  • Loading branch information
pranjal10 authored and yaminikb committed Aug 4, 2017
1 parent a2841a4 commit 60ed022
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions appserver/tests/appserv-tests/devtests/jdbc/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@
<ant dir="dmmcf" target="all"/>
<ant dir="dmmcf.markconnectionasbad.xa" target="all"/>
<ant dir="dmmcf.appclient" target="all"/>
<!-- Temporarily disabling this test as there is a Derby compatibility issue-->
<!--ant dir="tracingsql" target="all"/-->
<ant dir="tracingsql" target="all"/>
<ant dir="datasource40" target="all"/>
<ant dir="custom-validation" target="all"/>
<ant dir="custom-validation-1" target="all"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ CREATE TABLE expected_sql_trace (
);


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

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

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

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

Expand Down
1 change: 1 addition & 0 deletions appserver/tests/test_groups/gating
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ persistence_all
webservice_all
naming_all
batch_all
connector_all

0 comments on commit 60ed022

Please sign in to comment.