Skip to content

Commit

Permalink
Exception fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
NSAmelchev committed Jun 4, 2020
1 parent a4b319c commit bfb8a8c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import java.nio.ByteBuffer;
import java.util.UUID;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.IgniteLogger;
import org.apache.ignite.internal.processors.cache.persistence.file.FileIO;
import org.apache.ignite.internal.processors.cache.persistence.file.RandomAccessFileIOFactory;
Expand Down Expand Up @@ -66,7 +67,7 @@ public class TestProfilingLogReader implements IgniteProfiling {
}

/** Starts read profiling file to the configured log until node stoped. */
public void startRead() {
public void startRead() throws IgniteCheckedException {
ignite.context().metric().startProfiling(DFLT_FILE_MAX_SIZE, DFLT_BUFFER_SIZE, 0);

GridTestUtils.runAsync(() -> {
Expand Down

0 comments on commit bfb8a8c

Please sign in to comment.