microsoft/restler-fuzzer

DictionaryTests compiler test is flaky

Aperta

#535 aperta il 15 mag 2022

 (0 commenti) (0 reazioni) (0 assegnatari)Python (329 fork)auto 404
help wanted

Metriche repository

Star
 (2929 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

System.IO.IOException : The process cannot access the file 'C:\Users\VssAdministrator\AppData\Local\Temp\restlerTest\724319\grammar.py' because it is being used by another process. at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at Restler.Workflow.generatePython(String grammarOutputDirectoryPath, Config config, GrammarDefinition grammar) in D:\a\1\s\src\compiler\Restler.Compiler\Workflow.fs:line 27 at Restler.Workflow.generateRestlerGrammar(FSharpOption`1 swaggerDoc, Config config) in D:\a\1\s\src\compiler\Restler.Compiler\Workflow.fs:line 281 at Restler.Test.Dictionary.DictionaryTests.path and body parameter set to the same uuid suffix payload() in D:\a\1\s\src\compiler\Restler.Compiler.Test\DictionaryTests.fs:line 51

Guida contributor