Add history builder and an ability to write unit-tests with Harry
authorAlex Petrov <oleksandr.petrov@gmail.com>
Mon, 27 Sep 2021 10:56:33 +0000 (12:56 +0200)
committerAlex Petrov <alexp@coffeenco.de>
Fri, 1 Oct 2021 14:21:28 +0000 (16:21 +0200)
commitf6b4df664b5ec79cf555aa0fb34e26f40fd9e9cd
tree874ead0264502c4ffee89d358e6e7d6668c99947
parent83dd5a64edf9f62f5b3c5c468c6435f49b580cf3
Add history builder and an ability to write unit-tests with Harry

Implement a full repair test
54 files changed:
README.md
conf/default.yaml
conf/external.yaml
harry-core/src/harry/core/Configuration.java
harry-core/src/harry/corruptor/AddExtraRowCorruptor.java
harry-core/src/harry/dsl/HistoryBuilder.java [new file with mode: 0644]
harry-core/src/harry/model/OpSelectors.java
harry-core/src/harry/model/QuiescentChecker.java
harry-core/src/harry/model/clock/ApproximateMonotonicClock.java
harry-core/src/harry/model/clock/OffsetClock.java
harry-core/src/harry/operations/WriteHelper.java
harry-core/src/harry/reconciler/Reconciler.java
harry-core/src/harry/runner/DataTracker.java
harry-core/src/harry/runner/DefaultDataTracker.java
harry-core/src/harry/runner/Runner.java
harry-core/src/harry/util/TestRunner.java
harry-core/src/harry/visitors/AllPartitionsValidator.java
harry-core/src/harry/visitors/CorruptingVisitor.java [moved from harry-core/src/harry/visitors/CorruptingPartitionVisitor.java with 94% similarity]
harry-core/src/harry/visitors/DelegatingVisitor.java [new file with mode: 0644]
harry-core/src/harry/visitors/GeneratingVisitor.java [moved from harry-core/src/harry/visitors/AbstractPartitionVisitor.java with 52% similarity]
harry-core/src/harry/visitors/LoggingPartitionVisitor.java [deleted file]
harry-core/src/harry/visitors/LoggingVisitor.java [new file with mode: 0644]
harry-core/src/harry/visitors/MutatingPartitionVisitor.java [deleted file]
harry-core/src/harry/visitors/MutatingRowVisitor.java
harry-core/src/harry/visitors/MutatingVisitor.java [new file with mode: 0644]
harry-core/src/harry/visitors/OperationExecutor.java [moved from harry-core/src/harry/visitors/Operation.java with 97% similarity]
harry-core/src/harry/visitors/ParallelRecentValidator.java [moved from harry-core/src/harry/visitors/ParallelRecentPartitionValidator.java with 80% similarity]
harry-core/src/harry/visitors/ParallelValidator.java
harry-core/src/harry/visitors/RecentValidator.java [moved from harry-core/src/harry/visitors/RecentPartitionValidator.java with 91% similarity]
harry-core/src/harry/visitors/ReplayingVisitor.java [new file with mode: 0644]
harry-core/src/harry/visitors/Sampler.java
harry-core/src/harry/visitors/SingleValidator.java [moved from harry-core/src/harry/visitors/SinglePartitionValidator.java with 86% similarity]
harry-core/src/harry/visitors/VisitExecutor.java [new file with mode: 0644]
harry-core/src/harry/visitors/Visitor.java [moved from harry-core/src/harry/visitors/PartitionVisitor.java with 80% similarity]
harry-core/test/harry/model/OpSelectorsTest.java
harry-core/test/harry/operations/RelationTest.java
harry-integration-backup/test/resources/single_partition_test.yml [deleted file]
harry-integration/src/harry/model/sut/InJVMTokenAwareVisitExecutor.java [new file with mode: 0644]
harry-integration/src/harry/model/sut/InJvmSut.java
harry-integration/src/harry/runner/FaultInjectingVisitor.java [moved from harry-core/src/harry/visitors/FaultInjectingPartitionVisitor.java with 75% similarity]
harry-integration/src/harry/runner/RepairingLocalStateValidator.java
harry-integration/src/harry/runner/TrivialShrinker.java
harry-integration/src/harry/visitors/SkippingPartitionVisitor.java [deleted file]
harry-integration/src/harry/visitors/SkippingVisitor.java [new file with mode: 0644]
harry-integration/test/harry/generators/DataGeneratorsIntegrationTest.java
harry-integration/test/harry/model/HistoryBuilderIntegrationTest.java [new file with mode: 0644]
harry-integration/test/harry/model/HistoryBuilderTest.java [new file with mode: 0644]
harry-integration/test/harry/model/InJVMTokenAwareExecutorTest.java [new file with mode: 0644]
harry-integration/test/harry/model/ModelTestBase.java
harry-integration/test/harry/model/QuerySelectorNegativeTest.java
harry-integration/test/harry/model/QuerySelectorTest.java
harry-integration/test/harry/model/QuiescentCheckerIntegrationTest.java
harry-integration/test/harry/model/TestEveryClustering.java [deleted file]
harry-integration/test/resources/single_partition_test.yml