Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zstan committed Jul 23, 2024
1 parent 1fd0523 commit 8420188
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package org.apache.ignite.sqltests;

import javax.cache.CacheException;
import org.apache.ignite.IgniteException;
import org.apache.ignite.cache.CacheMode;
import org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction;
import org.apache.ignite.configuration.CacheConfiguration;
Expand Down Expand Up @@ -101,7 +101,7 @@ public void testRightJoinPartitionedReplicated() {
*/
@Test
public void testLeftJoinReplicatedPartitionedDiffPartitionsErr() {
GridTestUtils.assertThrows(log, () -> checkLeftJoinEmployeeDepartment(DEP_PART_TAB_DIFF), CacheException.class,
GridTestUtils.assertThrows(log, () -> checkLeftJoinEmployeeDepartment(DEP_PART_TAB_DIFF), IgniteException.class,
"only with the same partitions number configuration");
}

Expand All @@ -110,7 +110,7 @@ public void testLeftJoinReplicatedPartitionedDiffPartitionsErr() {
*/
@Test
public void testRightJoinPartitionedReplicatedDiffPartitionsErr() {
GridTestUtils.assertThrows(log, () -> checkRightJoinDepartmentEmployee(DEP_PART_TAB_DIFF), CacheException.class,
GridTestUtils.assertThrows(log, () -> checkRightJoinDepartmentEmployee(DEP_PART_TAB_DIFF), IgniteException.class,
"only with the same partitions number configuration");
}

Expand All @@ -120,7 +120,7 @@ public void testRightJoinPartitionedReplicatedDiffPartitionsErr() {
*/
@Test
public void testLeftJoinReplicatedPartitionedDiffNodeFilterErr() {
GridTestUtils.assertThrows(log, () -> checkLeftJoinEmployeeDepartment(DEP_PART_TAB_DIFF_NF), CacheException.class,
GridTestUtils.assertThrows(log, () -> checkLeftJoinEmployeeDepartment(DEP_PART_TAB_DIFF_NF), IgniteException.class,
"due to different node filters configuration");
}

Expand All @@ -129,7 +129,7 @@ public void testLeftJoinReplicatedPartitionedDiffNodeFilterErr() {
*/
@Test
public void testRightJoinPartitionedReplicatedDiffNodeFilterErr() {
GridTestUtils.assertThrows(log, () -> checkRightJoinDepartmentEmployee(DEP_PART_TAB_DIFF_NF), CacheException.class,
GridTestUtils.assertThrows(log, () -> checkRightJoinDepartmentEmployee(DEP_PART_TAB_DIFF_NF), IgniteException.class,
"due to different node filters configuration");
}
}

0 comments on commit 8420188

Please sign in to comment.