Skip to content

Commit

Permalink
Change test to reflect renaming
Browse files Browse the repository at this point in the history
Change what string the TestWorkerKeyChange-test is looking for, to reflect the new Propose-worker msg-changes
  • Loading branch information
rjan90 committed Mar 28, 2022
1 parent 555ff81 commit e2781ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-miner/actor_test.go
Expand Up @@ -72,7 +72,7 @@ func TestWorkerKeyChange(t *testing.T) {
result := output.String()
output.Reset()

require.Contains(t, result, fmt.Sprintf("Worker key change to %s successfully proposed.", newKey))
require.Contains(t, result, fmt.Sprintf("Worker key change to %s successfully sent", newKey))

epochRe := regexp.MustCompile("at or after height (?P<epoch>[0-9]+) to complete")
matches := epochRe.FindStringSubmatch(result)
Expand Down

0 comments on commit e2781ea

Please sign in to comment.