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 crash tests ("tools/db_crashtest.py"), expected_values_file is assigned tempfile.NamedTemporaryFile(), which is deleted as soon as it's closed according to Python docs. For debugging corruptions, it'd be good to preserve this file when the crash test fails. That way we can rerun the final failed command using the same expected state that the failed command had, and hopefully repro the corruption.
The text was updated successfully, but these errors were encountered:
…7534)
Summary:
If crash test fails, don't delete the `expected_values_file` for later
debug. More details: #7530
Pull Request resolved: #7534
Test Plan: local host
Reviewed By: ajkr
Differential Revision: D24239655
Pulled By: jay-zhuang
fbshipit-source-id: 3566f91a30aae1e27d2f51d910cddd08edb7d4cf
…acebook#7534)
Summary:
If crash test fails, don't delete the `expected_values_file` for later
debug. More details: facebook#7530
Pull Request resolved: facebook#7534
Test Plan: local host
Reviewed By: ajkr
Differential Revision: D24239655
Pulled By: jay-zhuang
fbshipit-source-id: 3566f91a30aae1e27d2f51d910cddd08edb7d4cf
In crash tests ("tools/db_crashtest.py"),
expected_values_file
is assignedtempfile.NamedTemporaryFile()
, which is deleted as soon as it's closed according to Python docs. For debugging corruptions, it'd be good to preserve this file when the crash test fails. That way we can rerun the final failed command using the same expected state that the failed command had, and hopefully repro the corruption.The text was updated successfully, but these errors were encountered: