[wp-trac] [WordPress Trac] #31994: WP should not autodetect pretty permalinks during unit test installation
WordPress Trac
noreply at wordpress.org
Thu Apr 16 23:53:40 UTC 2015
#31994: WP should not autodetect pretty permalinks during unit test installation
------------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+------------------
Comment (by boonebgorges):
Replying to [comment:3 DrewAPicture]:
> Seems sensible, however I ran a total of eight test runs, four times
each before and after the patch and based on my small sample, it actually
ran slower with this change, though negligible.
>
Yeah, those numbers are not significant. A bit more detail about the
problem: `wp_install_maybe_enable_pretty_permalinks()` tries to ping your
own domain. On the default test setup, that means 'example.org/2015/04/16
/hello-world' or something like that. I was running into this problem
because I was on a slow internet connection, which meant that
`example.org` DNS lookups were timing out. If you don't have a lousy
internet connection handy, you can reproduce the problem by finding a
domain name that responds very slowly to pings, and using it as your
`'WP_TESTS_DOMAIN'`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31994#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list