Commit Graph

121 Commits

Author SHA1 Message Date
Alexandre Iline
fb7027bca9 8139430: Refactor test library to decrease module dependencies of tests
Reviewed-by: mchung, alanb
2015-11-23 11:49:04 -08:00
Amy Lu
dad26e258c 8143583: Several tests don't work with latest jtreg due to non-existing files in @build
Reviewed-by: alanb, sla
2015-11-23 16:14:33 +08:00
Chris Plummer
5b3684cf37 8140189: [TESTBUG] Get rid of "@library /../../test/lib" in jtreg tests
Use new external.lib.roots property in TEST.ROOT so /../../test/lib is not needed.

Reviewed-by: mseledtsov, sla, iklam
2015-10-29 12:02:53 -07:00
Dmitry Samersoff
37668179b5 8086134: Deadlock detection fails to attach to core file
Test reimplemented for jtreg

Reviewed-by: jbachorik
2015-09-24 20:40:12 +03:00
Jaroslav Bachorik
d9e40f6803 8134420: sun/tools/jps/TestJpsClass fails with java.lang.RuntimeException: The line 'line 2' does not match pattern '^\\d+\\s+.*': expected true, was false
Reviewed-by: sla, dsamersoff
2015-09-04 12:18:03 +02:00
Dmitry Samersoff
9b98a06f7d 8132648: sun/tools/jhsdb/BasicLauncherTest fails with java.lang.RuntimeException
Added check for standard conditions causing attach to fail

Reviewed-by: jbachorik, sspitsyn
2015-08-04 18:11:40 +03:00
Dmitry Samersoff
ad592d234f Merge 2015-07-23 15:25:30 +00:00
Dmitry Samersoff
2155377556 8059038: Create new launcher for SA tools
Proivide jhsdb command to launch sa based tools

Reviewed-by: sspitsyn, jbachorik
2015-07-23 18:17:02 +03:00
Katja Kantserova
b66a26f3b1 8132094: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, sspitsyn
2015-07-22 09:51:40 +02:00
Jaroslav Bachorik
d5644aff56 8132059: com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
Reviewed-by: dcubed
2015-07-21 18:38:09 +02:00
Katja Kantserova
29a5a845e9 8075658: Mark intermittently failuring core-svc tests
Reviewed-by: jbachorik, olagneau, darcy
2015-07-20 13:14:47 +02:00
Dmitry Samersoff
c55d90aeef 8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
2015-06-23 12:35:39 +03:00
Katja Kantserova
18df7777e0 8085813: The targeted processes in sun/tools tests should be launched with -XX:+UsePerfData flag in order to work on embedded platforms
Reviewed-by: sspitsyn
2015-06-09 10:11:11 +02:00
Alejandro Murillo
f77dadee42 Merge 2015-06-04 15:38:00 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Staffan Larsen
98d6dd65f9 8081292: sun/tools/jmap/BasicJMapTest.java timed out
Reviewed-by: mgronlun, sspitsyn
2015-05-28 10:37:49 +02:00
Katja Kantserova
dc63fa4689 8081037: serviceability/sa/ tests time out on Windows
Reviewed-by: jbachorik, sla, dsamersoff
2015-05-27 14:35:55 +02:00
Katja Kantserova
27aac42dc5 8080833: JDK-8076524 has failed to remove binary files
Reviewed-by: sla
2015-05-25 14:08:21 +02:00
Mandy Chung
efeb942f9f 8074431: Remove native2ascii tool
Reviewed-by: erikj, alanb, okutsu, mfang, naoto
2015-05-22 16:43:39 -07:00
Harold Seigel
529069c19a Merge 2015-05-08 13:26:07 -04:00
Katja Kantserova
549731dc2f 8078896: Add @modules as needed to the jdk_svc tests
Reviewed-by: alanb, mchung
2015-05-07 09:11:49 +02:00
Katja Kantserova
6f18b7da8f 8076524: Remove jhat tests and help library from JDK
Reviewed-by: sla, alanb
2015-04-28 14:39:21 +02:00
Katja Kantserova
ba963fa58d 8059047: Extract parser/validator from jhat for use in tests
Reviewed-by: sla
2015-04-28 14:33:32 +02:00
Shanliang Jiang
999f0f1fd4 8078144: many nightly tests failed due to NoSuchMethodError: sun.management.ManagementFactoryHelper.getDiagnosticMXBean
Reviewed-by: alanb, sla
2015-04-21 10:24:20 +02:00
Katja Kantserova
c1b5c1b53a 8077423: jstatd is not terminated even though it cannot contact or bind to RMI Registry
Reviewed-by: sla
2015-04-20 08:45:54 +02:00
Katja Kantserova
0ef006faca 8027668: sun/tools/jstatd/TestJstatdPort.java: java.net.ConnectException: Connection refused: connect
Reviewed-by: jbachorik, sla
2015-04-07 14:47:33 +02:00
Harold Seigel
e86e812a29 Merge 2015-03-29 09:21:15 -04:00
Katja Kantserova
a4da3681de 8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
Reviewed-by: egahlin, jbachorik
2015-03-19 09:01:44 +01:00
Dmitry Samersoff
7e09df43e6 8075569: jmap test fails due to &quot;ERROR: java.nio.file.NoSuchFileException: 2906081d-06bc-4738-a7e8-f37b8bf13658.lck&quot;
Lock file is deleted while we are setting modified time

Reviewed-by: alanb
2015-03-23 02:29:47 -07:00
Dmitry Samersoff
eaa8d1e0f3 8072395: sun/tools/jmap/heapconfig/LingeredAppTest.java and sun/tools/jmap/heapconfig/JMapHeapConfigTest.java fail due to LingeredApp ERROR: java.io.IOException: Lock is too old. Aborting
Remove lock age check

Reviewed-by: sla, dholmes, kevinw
2015-02-18 03:45:06 -08:00
Dmitry Samersoff
7168bf102d 8072835: sun/tools/jmap/heapconfig/JMapHeapConfigTest.java Key MaxHeapSize doesnt match
Make sure that maxheapsize is set explicitly in command line

Reviewed-by: sla, ykantser
2015-02-18 03:16:48 -08:00
Dmitry Samersoff
f5b35f790c 8042397: tmtools/jmap/heap_config/jmap_heap_config_OldSize fails
Rewrite the test to jtreg

Reviewed-by: ykantser, jbachorik
2015-01-28 04:56:00 -08:00
Dean Long
4454981c00 Merge 2015-01-08 17:45:15 -05:00
Yumin Qi
c08e6d66cb Merge 2014-12-24 20:23:31 +00:00
Brian Burkhalter
89ee032790 8067964: Native2ascii doesn't close one of the streams it opens
Change sun.tools.native2ascii.Main.convert() to use try-with-resources; also clean up code formatting.

Reviewed-by: chegar
2014-12-23 12:40:06 -08:00
Katja Kantserova
f1e461b61e 6977426: sun/tools tests can intermittently fail to find app's Java pid
Reviewed-by: dfuchs, jbachorik, egahlin, sjiang
2014-12-19 13:13:11 +01:00
Tatiana Pivovarova
94c6fd7bc6 8067173: remove Utils::fileAsList
Reviewed-by: kvn, iignatyev
2014-12-24 17:54:00 +03:00
Yumin Qi
3dff2ab063 Merge 2014-12-08 00:25:10 -08:00
Chris Hegarty
43842f6349 Merge 2014-12-03 19:28:35 +00:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Yuri Gaevsky
07b4a3626e 6364329: jstat displays "invalid argument count" with usage
Reviewed-by: jbachorik
2014-12-02 16:21:33 +01:00
Katja Kantserova
e325ce88cb 8066106: sun/tools/jps/TestJpsClass.java failed to remove stale attach pid file
Reviewed-by: jbachorik
2014-12-01 09:49:44 +01:00
Jesper Wilhelmsson
dcff994c52 Merge 2014-11-26 17:41:08 +01:00
Evgeniya Stepanova
71a33bf064 8062536: [TESTBUG] Conflicting GC combinations in jdk tests
Reviewed-by: brutisso, dholmes
2014-11-19 17:51:06 +03:00
Katja Kantserova
fb6b965e86 6542634: TEST BUG: MISC_REGRESSION tests need to have minimum timeouts examined
Reviewed-by: sla, jbachorik, egahlin
2014-11-18 16:20:16 +01:00
Jaroslav Bachorik
c603f42b91 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process
Reviewed-by: sla, dholmes
2014-10-17 10:53:30 +02:00
Katja Kantserova
2905bd08a6 8056994: sun/tools/jstatd/TestJstatdPortAndServer.java and sun/tools/jstatd/TestJstatdServer.java miss correct check of RMI server availability
Reviewed-by: jbachorik, dsamersoff
2014-09-02 11:05:41 +02:00
Katja Kantserova
107a5ada42 8054278: Refactor jps utility tests
Reviewed-by: jbachorik
2014-08-15 12:28:58 +02:00
Jaroslav Bachorik
e614cf24ef 8048193: [tests] Replace JPS and stdout based PID retrieval by Process.getPid()
Reviewed-by: sla
2014-07-01 15:00:33 +02:00
Katja Kantserova
12e0fea90c 6545295: TEST BUG: The test HatHeapDump1Test uses wrong path in exec call
Reviewed-by: sla
2014-06-16 11:03:54 +02:00