Vyacheslav Koptilin created IGNITE-24710:
--------------------------------------------

             Summary: Remove redundant code when IGNITE-22620 is done
                 Key: IGNITE-24710
                 URL: https://issues.apache.org/jira/browse/IGNITE-24710
             Project: Ignite
          Issue Type: Bug
            Reporter: Vyacheslav Koptilin
            Assignee: Vyacheslav Koptilin


The 
`org.apache.ignite.internal.partition.replicator.ItBuildIndexTest#testBuildIndex`
 refers to IGNITE-22620:
{code:java}
// This async transaction is needed to update safe time, just because the idle 
safe time propagation is not implemented yet.
// https://issues.apache.org/jira/browse/IGNITE-22620
CompletableFuture.runAsync(() -> {
    try {
        Thread.sleep(1_000);
        node.transactions().runInTransaction(tx -> {
            Tuple key = Tuple.create().set("KEY", 1L);
            Tuple value = Tuple.create().set("VAL", 1).set("DOUBLEVAL", 1.0);
            tableView.putAll(tx, Map.of(key, value));
        });
    } catch (InterruptedException e) {
        throw new RuntimeException(e);
    }
}); {code}
Need to remove this tx from the test when IGNITE-22620 is completed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to