DictionaryTests compiler test is flaky
#535 aberto em 15 de mai. de 2022
Métricas do repositório
- Stars
- (2.929 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
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