On Wed, 17 Feb 2021 03:21:03 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

> This test was timing out in windows in mach5 nightly testing. Investigation 
> reveals that 70% of the time, it is failing due to printer being chosen was 
> Microsoft Print to PDF which opens up a File Save Dialog when "OK" was 
> clicked in printer pagedialog. Since no user intervention is done to dismiss 
> the modal filedialog, so subsequent pagedialog was not dismissed resulting in 
> timeout.
> Other times, it was found that "One Note" software printer was used as 
> default printerservice which again, opens up a OneNote app which again gets 
> focus and obscure pagedialog so PageDialog did not get dismissed.
> Updated test to ignore "Print To PDF", "OneNote" and "XPS Document 
> Writer"(which again opens filedialog like PDF printer) and run it for several 
> iteration in mach5 platforms which is ok. Link in JBS.

This pull request has now been integrated.

Changeset: ed93bc9a
Author:    Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ed93bc9a
Stats:     52 lines in 3 files changed: 32 ins; 18 del; 2 mod

8196301: java/awt/print/PrinterJob/Margins.java times out

Reviewed-by: prr

-------------

PR: https://git.openjdk.java.net/jdk/pull/2598

Reply via email to