Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stackdump committed Mar 15, 2019
1 parent bec2c5c commit 917dd82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 120 deletions.
117 changes: 0 additions & 117 deletions simTest/ChainTransaction_test.go

This file was deleted.

5 changes: 2 additions & 3 deletions simTest/EntriesBeforeChain_test.go
Expand Up @@ -32,7 +32,7 @@ func TestCreatEntriesBeforeChain(t *testing.T) {
})

t.Run("Run sim to create entries", func(t *testing.T) {
state0 := SetupSim("LAF", map[string]string{"--debuglog": ""}, 200, 1, 1, t)
state0 := SetupSim("LAF", map[string]string{"--debuglog": ""}, 200, 0, 0, t)

stop := func() {
ShutDownEverything(t)
Expand Down Expand Up @@ -86,8 +86,7 @@ func TestCreatEntriesBeforeChain(t *testing.T) {
t.Run("End simulation", func(t *testing.T) {
WaitForZero(state0, a.EcPub())
ht := state0.GetDBHeightComplete()
//WaitBlocks(state0, 10)
WaitForBlock(state0, 20)
WaitBlocks(state0, 1)
newHt := state0.GetDBHeightComplete()
//fmt.Printf("Old: %v New: %v", ht, newHt)
assert.True(t, ht < newHt, "block height should progress")
Expand Down

0 comments on commit 917dd82

Please sign in to comment.