File tree 1 file changed +3
-0
lines changed
ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 24
24
import java .nio .file .Path ;
25
25
import org .apache .tuweni .bytes .Bytes ;
26
26
import org .junit .jupiter .api .Test ;
27
+ import org .junit .jupiter .api .condition .DisabledOnOs ;
28
+ import org .junit .jupiter .api .condition .OS ;
27
29
import org .junit .jupiter .api .io .TempDir ;
28
30
import tech .pegasys .teku .infrastructure .time .StubTimeProvider ;
29
31
import tech .pegasys .teku .spec .TestSpecFactory ;
@@ -129,6 +131,7 @@ void saveBytesToFile_shouldNotThrowExceptionWhenNoDirectory(@TempDir Path tempDi
129
131
}
130
132
131
133
@ Test
134
+ @ DisabledOnOs (OS .WINDOWS ) // Can't set permissions on Windows
132
135
void saveBytesToFile_shouldNotEscalateWhenIOException (@ TempDir Path tempDir ) {
133
136
final DebugDataDumper manager = new DebugDataDumper (tempDir , true );
134
137
final File invalidPath = tempDir .resolve ("invalid" ).toFile ();
You can’t perform that action at this time.
0 commit comments