You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1535 we added a test for state directory conflict zcash_state_conflict. This test open 2 nodes, the first one runs normally where the second one panics by directory already in use.
In the first test we want to make sure the output contains the message of opening of the cache. In unix this line looks something like this:
Opened Zebra state cache at "/tmp/zebrad_tests.ZiiNhboNnxg1/state/state/v4/mainnet"
However in windows this will look like:
Opened Zebra state cache at "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\zebrad_tests.xlVzwX42HIFB\\state\\state\\v4\\mainnet"
The double backslash there is already indicating a problem in the printing of the message that should be fixed. Then, the regex in the the zcash_state_conflict should be changed to match windows.
Todo:
Fix log message for windows.
Remove the unix conditional from the zcash_state_conflict.
Change the regex in zcash_state_conflict to match windows case.
Related Tickets
#1649 Distinguish between string literals and regexes in the acceptance tests
The text was updated successfully, but these errors were encountered:
In #1535 we added a test for state directory conflict
zcash_state_conflict
. This test open 2 nodes, the first one runs normally where the second one panics by directory already in use.In the first test we want to make sure the output contains the message of opening of the cache. In unix this line looks something like this:
Opened Zebra state cache at "/tmp/zebrad_tests.ZiiNhboNnxg1/state/state/v4/mainnet"
However in windows this will look like:
Opened Zebra state cache at "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\zebrad_tests.xlVzwX42HIFB\\state\\state\\v4\\mainnet"
The double backslash there is already indicating a problem in the printing of the message that should be fixed. Then, the regex in the the
zcash_state_conflict
should be changed to match windows.Todo:
zcash_state_conflict
.zcash_state_conflict
to match windows case.Related Tickets
#1649 Distinguish between string literals and regexes in the acceptance tests
The text was updated successfully, but these errors were encountered: