Project

General

Profile

Bug #12167

Backport r54025 (Avoid false positive in an IMAP test)

Added by ReiOdaira (Rei Odaira) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:74271]

Description

This is a ticket to back-port r54025 to 2.3.

Associated revisions

Revision e4fdcb54
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 54025: [Backport #12167]

    * test/net/imap/test_imap.rb (test_idle_timeout): Because of the
      timeout specified in "imap.idle(0.2)", there is no gurantee that
      the server thread has done all the work before the client thread
      performs the assertions. It depends on the thread scheduling.
      Add checks to avoid false positives (on AIX, particularly).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 54411
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 54025: [Backport #12167]

* test/net/imap/test_imap.rb (test_idle_timeout): Because of the
  timeout specified in "imap.idle(0.2)", there is no gurantee that
  the server thread has done all the work before the client thread
  performs the assertions. It depends on the thread scheduling.
  Add checks to avoid false positives (on AIX, particularly).

History

Updated by naruse (Yui NARUSE) about 3 years ago

  • Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONE

ruby_2_3 r54411 merged revision(s) 54025.

Also available in: Atom PDF