Skip to content

Commit 4033e48

Browse files
committed
[GR-40177] [GR-36127] [GR-35810] Disable transient tests and increase timeout in LeakTest
PullRequest: graalpython/2377
2 parents c5f3336 + c2347fe commit 4033e48

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/advance/LeakTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -204,7 +204,7 @@ private Path dumpHeap(MBeanServer server) {
204204
private MBeanServer doFullGC() {
205205
// do this a few times to dump a small heap if we can
206206
MBeanServer server = null;
207-
for (int i = 0; i < 10; i++) {
207+
for (int i = 0; i < 20; i++) {
208208
System.gc();
209209
Runtime.getRuntime().freeMemory();
210210
server = ManagementFactory.getPlatformMBeanServer();
@@ -215,7 +215,7 @@ private MBeanServer doFullGC() {
215215
throw new RuntimeException(e);
216216
}
217217
try {
218-
Thread.sleep(3000);
218+
Thread.sleep(5000);
219219
} catch (InterruptedException e1) {
220220
// do nothing
221221
}

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_multiprocessing_main_handling.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,3 @@
1111
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.ForkServerCmdLineTest.test_script_compiled
1212
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.ForkServerCmdLineTest.test_zipfile
1313
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.ForkServerCmdLineTest.test_zipfile_compiled
14-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_basic_script
15-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_basic_script_no_suffix
16-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_directory
17-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_directory_compiled
18-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_ipython_workaround
19-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_module_in_package_in_zipfile
20-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_package
21-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_package_compiled
22-
*graalpython.lib-python.3.test.test_multiprocessing_main_handling.SpawnCmdLineTest.test_zipfile

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_multiprocessing_spawn.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
*graalpython.lib-python.3.test.test_multiprocessing_spawn.TestWait.test_wait_slow
4848
*graalpython.lib-python.3.test.test_multiprocessing_spawn.TestWait.test_wait_socket
4949
*graalpython.lib-python.3.test.test_multiprocessing_spawn.TestWait.test_wait_socket_slow
50-
*graalpython.lib-python.3.test.test_multiprocessing_spawn.TestWait.test_wait_timeout
5150
*graalpython.lib-python.3.test.test_multiprocessing_spawn.WithProcessesTestBarrier.test_abort
5251
*graalpython.lib-python.3.test.test_multiprocessing_spawn.WithProcessesTestBarrier.test_abort_and_reset
5352
*graalpython.lib-python.3.test.test_multiprocessing_spawn.WithProcessesTestBarrier.test_action

0 commit comments

Comments
 (0)