Skip to content

Conversation

@algorandskiy
Copy link
Contributor

@algorandskiy algorandskiy commented Jun 11, 2024

Summary

LibGoalFixture sometimes detects node termination error but it panics since test assert is called after test's main goroutine termination:

panic: Fail in goroutine after TestCatchupOverGossip/ledger=,fetcher=2.1 has completed

So that we observe this panic message instead an actual debug output with error code and node.log content. This PR changes the sequence - log all available info first and only then assert and fail.

Test Plan

This is a test harness change.

@algorandskiy algorandskiy merged commit a5aac42 into algorand:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants