Skip to content

Commit

Permalink
test: add SharedTimerClassLoaderLeakTest to the regular test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Feb 12, 2017
1 parent f1190d8 commit b355327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
SchemaTest.class,
AbortTest.class,
CloseOnCompletionTest.class,
SharedTimerClassLoaderLeakTest.class,
GetObjectTest.class}
)
public class Jdbc41TestSuite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* See the LICENSE file in the project root for more information.
*/

package org.postgresql.test.util;
package org.postgresql.test.jdbc4.jdbc41;

import org.postgresql.Driver;

Expand All @@ -17,6 +17,10 @@
/**
* Test case that verifies that the use of {@link org.postgresql.util.SharedTimer} within
* {@link org.postgresql.Driver} does not cause ClassLoader leaks
*
* The class is placed in {@code jdbc41} package so it won't be tested in JRE6 build.
* {@link JUnitClassloaderRunner} does not support JRE6, so we have to skip the test there.
*
* @author Mattias Jiderhamn
*/
@RunWith(JUnitClassloaderRunner.class)
Expand Down

0 comments on commit b355327

Please sign in to comment.