Skip to content

IGNITE-28706 Fix TxWithExceptionalInterceptorTest.testTxWithExceptionInterceptor fails#13162

Open
zstan wants to merge 1 commit into
apache:masterfrom
zstan:ignite-28706
Open

IGNITE-28706 Fix TxWithExceptionalInterceptorTest.testTxWithExceptionInterceptor fails#13162
zstan wants to merge 1 commit into
apache:masterfrom
zstan:ignite-28706

Conversation

@zstan
Copy link
Copy Markdown
Contributor

@zstan zstan commented May 20, 2026

No description provided.

@zstan
Copy link
Copy Markdown
Contributor Author

zstan commented May 20, 2026

After fix: "Run until failure" is ok
image

@sonarqubecloud
Copy link
Copy Markdown

sqlVal = getSqlResultByKey(node, PROC_CACHE_NAME, primaryKey, false);
}
catch (IgniteSQLException ex) {
assertTrue(X.hasCause(ex, ClusterTopologyException.class));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. Block under condition txCoord == TxCoordNodeRole.PRIMARY uses getSqlResultByKey method too, but not covered by the same check. Why?

  2. There is a line in this method:

Integer primaryKeyCommon = primaryKeyCoordAware(PROC_CACHE_NAME);

Here PROC_CACHE_NAME is used, but not COMMON_CACHE_NAME. Is it intentional?

  1. Several code style violations in this method (comment is not started with uppercase, and not ended with the point. Let's fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants