Pior Bastida
|
04b3a3475d
|
Update tests to use the configured Redis address
|
2024-10-28 12:48:56 +01:00 |
|
Pior Bastida
|
03f4799712
|
Run golangci-lint in CI (#927)
* Setup golangci-lint in CI and local-dev
* Fix linting error or locally disable linter
|
2024-10-26 08:48:12 +03:00 |
|
Jeroen Bobbeldijk
|
9e548fc097
|
Implement reusing redis client
|
2023-09-19 11:20:32 +02:00 |
|
Phước Trung
|
f966a6c3b8
|
completely update Redis package
Signed-off-by: Mohammed Sohail <sohailsameja@gmail.com>
|
2023-04-17 22:30:33 -07:00 |
|
Mohammed Sohail
|
8b057b8767
|
tests: restore ignore goleak.IgnoreTopFunction
|
2023-04-17 22:30:33 -07:00 |
|
Mohammed Sohail
|
dffb78cca4
|
pkg: remove v8 refs
|
2023-04-17 22:30:33 -07:00 |
|
Mohab Abd El-Dayem
|
aefd276146
|
Upgrade goleak version
|
2022-05-08 10:17:22 -07:00 |
|
Ken Hibino
|
e939b5d166
|
Rename asynqtest package to testutil
|
2022-04-11 16:55:43 -07:00 |
|
Jason White
|
b3ef9e91a9
|
Upgrade go-redis/redis to version 8
|
2021-09-02 05:56:02 -07:00 |
|
Ken Hibino
|
9c95c41651
|
Change Server API
* Rename ServerStatus to ServerState internally
* Rename terminate to shutdown internally
* Update Scheduler API to match Server API
|
2021-06-29 16:34:21 -07:00 |
|
Ken Hibino
|
476812475e
|
Change payload to byte slice
|
2021-06-29 16:34:21 -07:00 |
|
Ken Hibino
|
aa936466b3
|
Minor fix
|
2021-03-07 16:27:14 -08:00 |
|
Ken Hibino
|
50e7f38365
|
Add Scheduler
- Renamed previously called scheduler to forwarder to resolve name
conflicts
|
2020-10-13 06:31:47 -07:00 |
|
Ken Hibino
|
69d7ec725a
|
Close redis client after each test run
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
cca680a7fd
|
Change Client.Enqueue to take ProcessAt and ProcessIn as Option
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
6b96459881
|
Add test flags to run tests using redis cluster
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
34b90ecc8a
|
Return Result struct to caller of Enqueue
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
24ee4b9693
|
Define test flags for package testing
Added test flags for
- redis address (defaults to "localhost:6379")
- redis db number (defaults to 14)
- log level (defaults to FATAL)
|
2020-05-16 08:00:35 -07:00 |
|
Ken Hibino
|
fa3082e5bb
|
Change LogLevel to satisfy flag.Value interface
|
2020-05-16 08:00:35 -07:00 |
|
Ken Hibino
|
1c1474c55c
|
Add tests to simulate cases where server cannot talk to redis
|
2020-05-02 07:05:26 -07:00 |
|
Ken Hibino
|
0c998a8e17
|
Add test for signal handling
|
2020-04-28 06:56:05 -07:00 |
|
Ken Hibino
|
4ec2dc9e47
|
Minor reorganization in tests
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
eef2f5f3cb
|
Add test cases for server error
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
779065c269
|
Export Start, Stop and Quiet method on Server type
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
f9842ba914
|
Rename Background to Server
|
2020-04-19 08:51:17 -07:00 |
|