Skip to content

Commit

Permalink
Merge pull request #16 from aws-samples/fix-table-creation
Browse files Browse the repository at this point in the history
Wait for tables to create successfully in StreamJournal tutorial
  • Loading branch information
yohanmartin authored Oct 1, 2020
2 parents d647c4a + d7d0dfe commit 15af4c0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ public static void createLedger() throws Exception {
*/
public static void createTables() {
CreateTable.main();
try {
Thread.sleep(4000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}

public static void insertDocuments() {
Expand Down

0 comments on commit 15af4c0

Please sign in to comment.