Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NPE on error in tx #2286 #2437

Merged
merged 4 commits into from
Oct 14, 2020
Merged

Conversation

danielkec
Copy link
Contributor

@danielkec danielkec commented Oct 12, 2020

Fixes #2286

Signed-off-by: Daniel Kec <[email protected]>
Signed-off-by: Daniel Kec <[email protected]>
@danielkec danielkec changed the title 2286 npe fix Fix NPE on error in tx #2286 Oct 12, 2020
@danielkec danielkec self-assigned this Oct 12, 2020
@danielkec danielkec added the DB client Helidon DB Client label Oct 12, 2020
@Tomas-Kraus
Copy link
Member

Tomas-Kraus commented Oct 12, 2020

There is still something wrong:
DB clients tests on master:

kratz@mbp:/data/helidon-master>mvn clean install -DskipTests -T8
...
kratz@mbp:/data/helidon-master/tests/integration/dbclient>mvn clean install -Dmysql -Pdocker -pl common,jdbc
[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0

DB clients tests on PR branch:

kratz@mbp:/data/helidon-pr2436>mvn clean install -DskipTests -T8
...
kratz@mbp:/data/helidon-pr2436/tests/integration/dbclient>mvn clean install -Dmysql -Pdocker -pl common,jdbc
[ERROR] Tests run: 141, Failures: 20, Errors: 7, Skipped: 0

I removed ~/.m2/repository before tests and did full Helidon rebuild before each run.

Signed-off-by: Daniel Kec <[email protected]>
@danielkec
Copy link
Contributor Author

@Tomas-Kraus Can I ask for retest? It passes for me locally

@Tomas-Kraus
Copy link
Member

Mysql:

[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0

Mariadb:

[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0

PostgreSQL

[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0

MS SQL Server

[INFO] Tests run: 141, Failures: 0, Errors: 0, Skipped: 0

Copy link
Member

@Tomas-Kraus Tomas-Kraus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danielkec danielkec merged commit 52734e1 into helidon-io:master Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DB client Helidon DB Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DbClient - NullPointerException inTransaction with failing statement
2 participants