forked from ozimov/embedded-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ozimov#8 from DmitryErmolchik/master
Tests to check REDIS_READY_PATTERN for Redis version 2.x, 3.x, 4.x were added
- Loading branch information
Showing
8 changed files
with
214 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 2.8.19 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in sentinel mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 26379 | ||
| `-._ `._ / _.-' | PID: 5532 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
[5532] 18 May 18:23:19.755 # Sentinel runid is 19036a5984e785f22fbf267af283649226736049 |
20 changes: 20 additions & 0 deletions
20
src/test/resources/redis-2.x-standalone-startup-output.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 2.8.19 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in stand alone mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | ||
| `-._ `._ / _.-' | PID: 6212 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
[6212] 18 May 18:23:17.244 # Server started, Redis version 2.8.19 | ||
[6212] 18 May 18:23:17.244 * The server is now ready to accept connections on port 6379 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 3.2.100 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in sentinel mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | ||
| `-._ `._ / _.-' | PID: 8332 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
[8332] 18 May 12:24:04.651 # Sentinel ID is 4bb1b2d80c74deb14e116664261c47b5a9c4b185 |
20 changes: 20 additions & 0 deletions
20
src/test/resources/redis-3.x-standalone-startup-output.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 3.2.100 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in standalone mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | ||
| `-._ `._ / _.-' | PID: 1592 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
[1592] 18 May 12:22:56.535 # Server started, Redis version 3.2.100 | ||
[1592] 18 May 12:22:56.535 * The server is now ready to accept connections on port 6379 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
2091:X 18 May 18:04:58.961 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo | ||
2091:X 18 May 18:04:58.962 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=2091, just started | ||
2091:X 18 May 18:04:58.962 # Configuration loaded | ||
2091:X 18 May 18:04:58.963 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. | ||
2091:X 18 May 18:04:58.963 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. | ||
2091:X 18 May 18:04:58.963 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 4.0.9 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in sentinel mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | ||
| `-._ `._ / _.-' | PID: 2091 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
2091:X 18 May 18:04:58.964 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | ||
2091:X 18 May 18:04:58.970 # Sentinel ID is 70592a23712d81e2ebc460624a95a0a0fd13a737 |
29 changes: 29 additions & 0 deletions
29
src/test/resources/redis-4.x-standalone-startup-output.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
1780:C 18 May 18:03:03.442 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo | ||
1780:C 18 May 18:03:03.442 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=1780, just started | ||
1780:C 18 May 18:03:03.442 # Configuration loaded | ||
1780:M 18 May 18:03:03.443 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. | ||
1780:M 18 May 18:03:03.443 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. | ||
1780:M 18 May 18:03:03.443 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. | ||
_._ | ||
_.-``__ ''-._ | ||
_.-`` `. `_. ''-._ Redis 4.0.9 (00000000/0) 64 bit | ||
.-`` .-```. ```\/ _.,_ ''-._ | ||
( ' , .-` | `, ) Running in standalone mode | ||
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | ||
| `-._ `._ / _.-' | PID: 1780 | ||
`-._ `-._ `-./ _.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | http://redis.io | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
|`-._`-._ `-.__.-' _.-'_.-'| | ||
| `-._`-._ _.-'_.-' | | ||
`-._ `-._`-.__.-'_.-' _.-' | ||
`-._ `-.__.-' _.-' | ||
`-._ _.-' | ||
`-.__.-' | ||
|
||
1780:M 18 May 18:03:03.444 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | ||
1780:M 18 May 18:03:03.445 # Server initialized | ||
1780:M 18 May 18:03:03.445 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | ||
1780:M 18 May 18:03:03.445 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | ||
1780:M 18 May 18:03:03.445 * Ready to accept connections |