Commit 90e4c4d
Fix SCD Table test flakiness (facebookresearch#4069)
Summary:
Pull Request resolved: facebookresearch#4069
Test often fails due to bad file descriptor: https://www.internalfb.com/intern/testinfra/diagnostics/12384899035372280.281475109760157.1733399744/
This is due to the filename in the test being the same across all runs - when there are multiple concurrent runs, there will be problems accessing the file.
The solution is to add a randomized component to the temp file, similar to other tests like ```test_io_with_options```, which prevents concurrent accesses of a file.
Reviewed By: pankajsingh88
Differential Revision: D66846937
fbshipit-source-id: d1d3c9ce817c4ce06283db265f13fe1413c2a14b1 parent 750381d commit 90e4c4d
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
0 commit comments