[
https://issues.apache.org/jira/browse/IGNITE-22707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865081#comment-17865081
]
Ignite TC Bot commented on IGNITE-22707:
----------------------------------------
{panel:title=Branch: [pull/11430/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/11430/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Disk Page Compressions 1{color} [[tests
2|https://ci2.ignite.apache.org/viewLog.html?buildId=7978374]]
* {color:#013220}IgnitePdsCompressionTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=false,
onlyPrimay=false] - PASSED{color}
* {color:#013220}IgnitePdsCompressionTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=false,
onlyPrimay=true] - PASSED{color}
{color:#00008b}Snapshots 1{color} [[tests
4|https://ci2.ignite.apache.org/viewLog.html?buildId=7978357]]
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=false,
onlyPrimay=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=false,
onlyPrimay=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=true,
onlyPrimay=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite:
IgniteClusterSnapshotSelfTest.testExceptionOnStartStage[encryption=true,
onlyPrimay=true] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7978379&buildTypeId=IgniteTests24Java8_RunAll]
> Node fails when runtime exception occurs on snapshot start stage
> ----------------------------------------------------------------
>
> Key: IGNITE-22707
> URL: https://issues.apache.org/jira/browse/IGNITE-22707
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reproducer:
> {code:java}
> /** Any node failed. */
> private boolean failed;
> /** {@inheritDoc} */
> @Override protected IgniteConfiguration getConfiguration(String
> igniteInstanceName) throws Exception {
> return
> super.getConfiguration(igniteInstanceName).setFailureHandler((ignite, ctx) ->
> failed = true);
> }
> /** @throws Exception If fails. */
> @Test
> public void testExceptionOnStartStage() throws Exception {
> IgniteEx ignite = startGridsWithCache(2, dfltCacheCfg, CACHE_KEYS_RANGE);
> IgniteFuture<Void> fut = snp(ignite).createSnapshot(SNAPSHOT_NAME, null,
> false, onlyPrimary);
> File snpDir = snp(ignite).snapshotLocalDir(SNAPSHOT_NAME);
> assertTrue(snpDir.mkdirs());
> File snpMeta = new File(snpDir,
> IgniteSnapshotManager.snapshotMetaFileName(ignite.localNode().consistentId().toString()));
> assertTrue(snpMeta.createNewFile());
> assertThrowsAnyCause(log, fut::get, IgniteException.class, "Snapshot
> metafile must not exist");
> assertFalse(failed);
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)