Bug 244170

Summary: Reset state in testapi's testModuleBytecodeCache() before starting the test.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.