Skip to content

Commit

Permalink
Merge pull request #59 from niveathika/master
Browse files Browse the repository at this point in the history
Reenable test assertions for transactions
  • Loading branch information
pcnfernando authored Dec 9, 2020
2 parents 04d11a2 + be2c5f0 commit 7aed191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sql-ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ module `JDBC`.
### List of Database Modules
1. JDBC (Java Database Connectivity) Module
This module can be used to connect with any database by simply providing the JDBC URL and the other related properties.
For more details, see the [JDBC module](https://ballerina.io/swan-lake/learn/api-docs/ballerina/java.jdbc/index.html).
For more details, see the [JDBC module](https://ballerina.io/swan-lake/learn/api-docs/ballerina/#/jdbc).


2. MySQL Module
This module is specially designed to work with a MySQL database and allows to access the functionality
provided by MySQL 8.0.x onwards. For more details, see the [MySQL module](https://ballerina.io/swan-lake/learn/api-docs/ballerina/mysql/index.html).
provided by MySQL 8.0.x onwards. For more details, see the [MySQL module](https://ballerina.io/swan-lake/learn/api-docs/ballerina/#/mysql).


### Client
Expand Down
4 changes: 2 additions & 2 deletions sql-ballerina/tests/local-transaction-test.bal
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
int count = getCount(dbClient, "210");
checkpanic dbClient.close();

// test:assertEquals(retryValRWC, 1);
test:assertEquals(retryValRWC, 1);
test:assertEquals(count, 0);
test:assertEquals(stmtAfterFailureExecutedRWC, false);
}
Expand Down Expand Up @@ -170,7 +170,7 @@
//check whether update action is performed
int count = getCount(dbClient, "615");
checkpanic dbClient.close();
// test:assertEquals(returnValRGK, 1);
test:assertEquals(returnValRGK, 1);
test:assertEquals(count, 2);
}

Expand Down

0 comments on commit 7aed191

Please sign in to comment.