[wp-trac] [WordPress Trac] #58000: Run core unit tests against object cache enabled with Redis
WordPress Trac
noreply at wordpress.org
Tue Mar 28 14:30:37 UTC 2023
#58000: Run core unit tests against object cache enabled with Redis
------------------------------+------------------------------
Reporter: spacedmonkey | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses: performance
------------------------------+------------------------------
Comment (by joehoyle):
My 2c, from @spacedmonkey posting for thoughts in Slack!
Is the intention here to do integration tests against popular Object-Cache
drop-in implementations, so Core knows it's broken something (either via a
WP bug, or bug in a given object-cache implementation); or do you want to
test if Core can use Redis (i.e. data types can be mapped etc?).
As the object cache is just an interface, the irregularities between
implementations of any drop-in seem to be the thing that would be
uncovered by this. WP doesn’t really “run against memcache / redis”, they
run against the object-cache implementation; now, running against 10
object-cache implementations (maybe across file cache, redis, memcache,
apcu, mysql (yes, some people do that :P), but IMO the upstream server
doesn’t really matter, the implementation is what does) could be cool, as
a means of integration testing-- but I think that's really testing the
popular implementations and not so much Core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58000#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list