Bug 244170 - Reset state in testapi's testModuleBytecodeCache() before starting the test.
Summary: Reset state in testapi's testModuleBytecodeCache() before starting the test.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-21 12:03 PDT by Mark Lam
Modified: 2022-08-21 13:49 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2022-08-21 12:03:54 PDT
There may be leftover state from a previous failed test run in the file system.  If we don't clean this up before running the test, the test can fail perpetually until the machine is rebooted.  This results in wasted engineering effort to diagnose this.  So, we'll ensure the state is clean before starting the test.
Comment 1 Radar WebKit Bug Importer 2022-08-21 12:04:35 PDT
<rdar://problem/98950007>
Comment 2 Mark Lam 2022-08-21 12:08:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3514
Comment 3 EWS 2022-08-21 13:49:20 PDT
Committed 253633@main (92c64e3b4c25): <https://commits.webkit.org/253633@main>

Reviewed commits have been landed. Closing PR #3514 and removing active labels.