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

IGNITE-11309 #153

Open
wants to merge 18 commits into
base: ignite-11314
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
d9d37d3
ignite-11309 added ability to enable/disable best effort affinity
sanpwc Mar 29, 2019
45b7bf8
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Mar 29, 2019
b55079e
ignite-11309 Tests for best effort affinity flag and cleanup.
sanpwc Apr 1, 2019
ca02dc8
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 5, 2019
6f5eda5
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 5, 2019
26332df
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 9, 2019
902a050
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 9, 2019
b970295
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 10, 2019
64b2850
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 10, 2019
cfd9d1e
ignite-11309 tests for best effort affinity added.
sanpwc Apr 10, 2019
f96c915
ignite-11309 bestEffortAffinityEnabled -> affinityAwareness.
sanpwc Apr 10, 2019
d77e99c
ignite-11309 cleanup.
sanpwc Apr 11, 2019
941df8e
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 11, 2019
dd8c0db
ignite-11314 typo fixed.
sanpwc Apr 12, 2019
ef93be3
ignite-11314 test checking default behaviour of affinity awareness ad…
sanpwc Apr 12, 2019
928f910
Merge branch 'ignite-11314' of https://github.com/gridgain/apache-ign…
sanpwc Apr 12, 2019
57bb76e
Merge branch 'ignite-11287' of https://github.com/gridgain/apache-ign…
sanpwc Apr 17, 2019
09e6b7c
ignite-11309 changes based on code review;
sanpwc Apr 17, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

package org.apache.ignite.jdbc.suite;

import org.apache.ignite.internal.jdbc.thin.JdbcThinConnection;
import org.apache.ignite.jdbc.thin.JdbcThinAbstractSelfTest;
import org.apache.ignite.jdbc.thin.JdbcThinBestEffortAffinitySelfTest;
import org.apache.ignite.jdbc.thin.JdbcThinBestEffortAffinityTransactionsSelfTest;
import org.apache.ignite.jdbc.thin.JdbcThinConnectionSelfTest;
import org.apache.ignite.jdbc.thin.JdbcThinStatementSelfTest;
Expand All @@ -36,6 +36,7 @@
JdbcThinConnectionSelfTest.class,
JdbcThinTcpIoTest.class,
JdbcThinStatementSelfTest.class,
JdbcThinBestEffortAffinitySelfTest.class,
JdbcThinBestEffortAffinityTransactionsSelfTest.class,
})
public class IgniteJdbcThinDriverBestEffordAffinityTestSuite {
Expand All @@ -45,7 +46,6 @@ public class IgniteJdbcThinDriverBestEffordAffinityTestSuite {
*/
@BeforeClass
public static void setupBestEffortAffinity() {
GridTestUtils.setFieldValue(JdbcThinConnection.class, "bestEffortAffinity", true);
GridTestUtils.setFieldValue(JdbcThinAbstractSelfTest.class, "bestEffortAffinity", true);
GridTestUtils.setFieldValue(JdbcThinAbstractSelfTest.class, "affinityAwareness", true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
public class JdbcThinAbstractSelfTest extends GridCommonAbstractTest {

/** Signals that tests should start in best effort affinity mode. */
public static boolean bestEffortAffinity;
public static boolean affinityAwareness;

/**
* @param r Runnable to check support.
Expand Down
Loading