File tree 1 file changed +2
-2
lines changed
src/test/java/io/kurrent/dbclient/samples/appending_events
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ private static void appendWithNoStream(KurrentDBClient client) throws ExecutionE
69
69
.builderAsJson (
70
70
UUID .randomUUID (),
71
71
"some-event" ,
72
- objectMapper .writeValueAsBytes (new TestEvent ("2" , "some value" )))
72
+ objectMapper .writeValueAsBytes (new TestEvent ("2" , "some other value" )))
73
73
.build ();
74
74
75
75
AppendToStreamOptions options = AppendToStreamOptions .get ()
@@ -99,7 +99,7 @@ private static void appendWithConcurrencyCheck(KurrentDBClient client) throws Ex
99
99
.builderAsJson (
100
100
UUID .randomUUID (),
101
101
"some-event" ,
102
- objectMapper .writeValueAsBytes (new TestEvent ("2 " , "clientOne" )))
102
+ objectMapper .writeValueAsBytes (new TestEvent ("1 " , "clientOne" )))
103
103
.build ();
104
104
105
105
EventData clientTwoData = EventData
You can’t perform that action at this time.
0 commit comments