Files
sdk/tests
Alexander Markov 325cd9ecec [tests] Attempt to fix flaky standalone/io/named_pipe_type_test
This test has been failing the following error:

Unhandled exception:
Expect.fail('../itxkmd5wzq/named_pipeTGADTD/typeScript: Error: Error when reading '../itxkmd5wzq/named_pipeTGADTD/typeScript': No such file or directory
')


This could happen if the script file has not been written to disk
by the time a sub-process is started.

In order to fix that, non-awaited File.writeAsString is replaced
with File.writeAsStringSync.

TEST=standalone/io/named_pipe_type_test

Change-Id: Ied68c458a04e7c2a5eb20131bea459cb628e1d97
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/417085
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2025-03-21 10:24:51 -07:00
..
2025-03-20 15:03:36 -07:00
2022-12-19 12:56:47 +00:00
2022-02-14 14:06:34 +00:00

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.