microsoft/restler-fuzzer

DictionaryTests compiler test is flaky

Ouverte

#535 ouverte le 15 mai 2022

 (0 commentaire) (0 réaction) (0 personne assignée)Python (329 forks)auto 404
help wanted

Métriques du dépôt

Stars
 (2 929 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur