Re: [9] Review Request: 8177841 Some java/awt/Robot tests can be improved

2017-04-07 Thread Sergey Bylokhov
> 6 апр. 2017 г., в 23:26, Semyon Sadetsky > написал(а): > > On 04/06/2017 01:09 PM, Sergey Bylokhov wrote: >>> Sergey, could you replace CountDownLatch::await() call with its limited >>> wait time analog. If the test fails it blocks execution for 2 minutes in >>>

Re: [9] Review Request: 8177841 Some java/awt/Robot tests can be improved

2017-04-07 Thread Semyon Sadetsky
On 04/07/2017 10:42 AM, Sergey Bylokhov wrote: We already have a mechanism which kills the tests after timeout, we also have a default timeout of 2 minutes. I am not sure how to get dump of all threads from the catch block. But shouldn't the time frame when a mouse click may come be limited?

Re: [9] Review Request: 8177841 Some java/awt/Robot tests can be improved

2017-04-07 Thread Sergey Bylokhov
>> >> We already have a mechanism which kills the tests after timeout, we also >> have a default timeout of 2 minutes. >> I am not sure how to get dump of all threads from the catch block. > But shouldn't the time frame when a mouse click may come be limited? Will it > be correct when the click

Re: [9] Review Request: 8177841 Some java/awt/Robot tests can be improved

2017-04-07 Thread Semyon Sadetsky
On 04/07/2017 04:42 AM, Sergey Bylokhov wrote: 6 апр. 2017 г., в 23:26, Semyon Sadetsky > написал(а): On 04/06/2017 01:09 PM, Sergey Bylokhov wrote: Sergey, could you replace CountDownLatch::await() call with its limited wait