[wp-trac] [WordPress Trac] #49050: skipOnAutomatedBranches() does not work as expected

WordPress Trac noreply at wordpress.org
Thu Dec 19 20:25:31 UTC 2019


#49050: skipOnAutomatedBranches() does not work as expected
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  5.4
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 Background: #49049

 [source:tags/5.3.2/tests/phpunit/includes/abstract-testcase.php#L182
 WP_UnitTestCase_Base::skipOnAutomatedBranches()] is supposed to make sure
 some tests only run on trunk/master, not on other branches.

 [source:tags/5.3.2/tests/phpunit/tests/external-http/basic.php
 test_readme()] is one of those tests, however it currently runs (and
 fails) at least on the 5.3 branch too, see [https://travis-
 ci.com/WordPress/wordpress-develop/jobs/268747198 job 268747198] for
 example.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49050>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list