forked from jdp/redisent
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Suppress errors on cleanup (and avoid potentially deleting the config files) * The pubsub test crassh on phpredis 3.13 and below, but works with 3.1.4RCx. * All basic tests pass (except pubsub with phpredis which explicitly fails) * Fix-up testMasterSlave test * Give Redis time to exit * Fixup testGetHostAndPort test * Allow php7.x opcache to optimize the array to be vastly more compact, and use an O(1) lookup rater than a array scan of strings. * When in standalone multi() mode, exec() now decodes the result, and discard() destroys any pipelining or multi setup. * Rearange testPipeline & testPipelineTransaction to have the same test functionality. Add tests for zrangebyscore/zrevrangebyscore * Fix pipeline/multi modes for more commands * Shim zRange/zRevRange arguments before they are sent to phpredis & expand test coverage * remove unneeded variable * In fluent mode, credis returns itself * Add test for watch/unwatch, ensure the connection is closed/cleaned up when a pipeline&multi or watch fails. * Use diskless replication and add some delays for initial setup time. * Implement info() command for Sentinel * sentinel tests now wait for replication setup to finish * Run all tests * Restore php5.6 support in Credis_cluster * Compile redis from source so redis-sentinel is available * Tweak travis build * Move binaries to the right directory * Update PATH environment variable rather than move binaries around. * Remove debugging code * Better tolerance of slop in the timeout * Push common code into CredisTestCommon * Use role() instead of info() to reliably get the slave connecting state * Move sleep after connect check * Add waitForSlaveReplication for reliable waiting for master-slave replication
- Loading branch information
1 parent
e0a208d
commit e8e9b20
Showing
12 changed files
with
668 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.