Commit Graph

55 Commits

Author SHA1 Message Date
ofekshenawa 1a7e474cff Change redis version from 7.2 to 7.4 2024-06-19 22:03:47 +03:00
ofekshenawa 34dacf14a7
Fix monitor on go 1.19 (#2908)
* Fix monitor on go 1.19

* Remove exmaple tests when go 1.19

* Fix typo

* Fix typo

* Skip exmaple test

* Skip exmaple test

* Guard Peek call with mutex for thread safety
2024-03-21 10:48:31 +02:00
Chayim 6199a2af2c
Making command structs digestable (#2716)
* intial move

* adding stringcmdable

* moving module commands to align with other changes

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: ofekshenawa <ofek.shenawa@redis.com>
2023-09-20 16:08:24 +03:00
Tiago Peczenyj e8ad794e96
Format code and fix go vet (#2696)
* run go fix ./...

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* run make fmt

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

* fix go vet ./... issues

* Update README.md

Reorder imports with the rules defined in the Makefile 

as if we run `make fmt`

* run gofumpt -w .

* update Makefile to use gofumpt instead gofmt

* increment makefile

* format test

* format tests

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>

---------

Signed-off-by: Tiago Peczenyj <tpeczenyj@weborama.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-20 14:03:44 +03:00
Chayim 678bf21b48
Updating redis binary for makefile to 7.2.1 (#2693)
* updating redis binary from makefile to 7.2.0

* redis 7.2.1

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2023-09-19 18:53:47 +03:00
Chayim b1103e3d43
Bumping redis versions (#2662) 2023-07-26 14:58:49 +03:00
Monkey 6edb1529ff
test: redis-version to 7.2-rc1 (#2532)
* test: redis-version to 7.2-rc1

Signed-off-by: monkey92t <golang@88.com>
2023-04-12 20:17:10 +08:00
Chayim cccfca4593
redis 7.0.10 (#2508)
Co-authored-by: Monkey <golang@88.com>
2023-03-28 20:35:14 +08:00
Chayim f95bdb8a8b
redis 7.0.8 in tests (#2450)
Co-authored-by: Monkey <golang@88.com>
2023-02-19 19:42:18 +08:00
Monkey 1cb89d7f3b
test: update go mod before testing(go mod tidy) (#2423) 2023-02-08 19:52:04 +08:00
Monkey 154ca02e2f
test: remove deep search (#2411) 2023-02-01 15:46:59 +08:00
Vladimir Mihailenco ce04442105 chore: update uptrace config 2023-01-30 10:02:16 +02:00
Vladimir Mihailenco ddb0bc08be chore: run tests in all packages 2023-01-30 09:52:13 +02:00
Vladimir Mihailenco 97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
monkey92t 443f0ec113 test: upgrade redis version(7.0.7)
Signed-off-by: monkey92t <golang@88.com>
2022-12-28 22:38:59 +08:00
Sylvain Rabot 603e972266
test: upgrade redis version (#2315)
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2022-12-16 17:22:50 +08:00
Adam Snyder faa496ba7d test: vet that all Cmders have a SetVal() method 2022-08-07 22:40:51 -07:00
Vladimir Mihailenco d09c27e604 feat: upgrade to Redis 7 2022-06-04 17:25:12 +03:00
Vladimir Mihailenco 3a722be811 fix: fix tests 2022-06-04 15:25:01 +03:00
Vladimir Mihailenco 3f99e7b13b chore: update dependencies 2021-09-23 16:49:39 +03:00
Vladimir Mihailenco 9b6ee9c3cc chore: gofmt all code 2021-09-08 16:52:29 +03:00
monkey92t 437184bded
Upgrade redis-server version (#1833)
* Upgrade redis-server version

Signed-off-by: monkey <golang@88.com>

* XAutoClaim changed the return value

Signed-off-by: monkey <golang@88.com>
2021-07-24 23:46:41 +08:00
Vladimir Mihailenco e3c1e884eb Replace travis with workflows 2021-03-23 10:29:15 +02:00
You Den 7b7f9d6e0e
Add SetArgs command (#1662)
* Add SetWithArgs command

* Add tests for SetWithArgs command

* Replace Makefile stable version by 6.2-rc3 version

* Increase threshold because there are more commands

* Reduce the SetWithArgs command doc comment

* Rename SetWithArgs to SetArgs

* Rename ExpireAt to TTL

* Add KeepTTL field

* Add ExpireAt field as time.Time type

* Improve comments readability

* Add more tests for ExpireAt field

* Fix typo

* Fix multiple if/else chain lint error
2021-02-17 14:48:47 +02:00
Vladimir Mihailenco 0b9986c43c Update extra 2020-11-21 10:18:39 +02:00
Vladimir Mihailenco 9d110cb0a4 Add back go vet 2020-09-17 17:01:29 +03:00
Vladimir Mihailenco 12d46bf32e Use Redis stable for testing 2020-06-05 09:08:16 +03:00
Vladimir Mihailenco def106c404 Update build 2019-12-18 12:51:52 +02:00
Vladimir Mihailenco dab9d3f802 Cleanup 2019-11-19 12:37:26 +02:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Vladimir Mihailenco c208a17dfc Handle -1 in DurationCmd 2019-05-31 13:19:39 +03:00
Vladimir Mihailenco 6238b8d4b7 Mark node as loading in Cluster pipeline read 2019-05-30 17:17:27 +03:00
Vladimir Mihailenco e54b0f2944 Use stable version of Redis 2019-01-21 16:10:26 +02:00
Vladimir Mihailenco 4d5a8b91ad Fix tests 2018-11-21 11:16:25 +02:00
Vladimir Mihailenco a64d3e1ef1 Fix build on 32bit arch 2018-03-07 12:41:11 +02:00
Tess Thyer 55c9929dba Change Makefile to use sed syntax that will work for both GNU and BSD sed (#719)
* Use sed syntax that will work with both GNU and BSD sed
2018-02-27 20:05:21 +02:00
Vladimir Mihailenco ce4fd8b677 Fix ReceiveMessage to work without any subscriptions. 2017-02-08 14:15:32 +02:00
Vladimir Mihailenco ae523dd552 travis: run go vet 2016-11-06 13:37:23 +02:00
Vladimir Mihailenco f47fb47df0 Extract race tests to separate file. Add more race tests. 2016-03-16 19:45:35 +02:00
Vladimir Mihailenco 46790aa060 Add race test for big vals. Copy connection to avoid race with PubSub. 2016-03-14 16:34:15 +02:00
Dimitrij Denissenko 900913d1e5 Move benchmark to relevant package. Added bench task 2016-03-12 13:03:08 +02:00
Dimitrij Denissenko e80f790e76 Use go standard path for test data 2016-03-12 10:25:59 +00:00
Vladimir Mihailenco 36487d8462 Stabilize build. 2015-12-22 12:08:35 +02:00
Vladimir Mihailenco ee3a8f1212 makefile: give Redis time to exit. 2015-11-21 13:24:42 +02:00
Vladimir Mihailenco 2d37474474 travis: fix build. 2015-09-28 12:40:31 +03:00
Vladimir Mihailenco d522cd5ae5 travis: use Redis 3.0.3 to fix the build. 2015-08-07 18:07:27 +03:00
Vladimir Mihailenco 90aaae2ba2 makefile: remove ginkgo flags. 2015-06-03 14:25:52 +03:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Vladimir Mihailenco 140a4d4f96 Try to fix travis. 2015-01-30 15:32:07 +02:00
Dimitrij Denissenko f6bca78168 Migrates tests to ginkgo/gomega 2015-01-25 11:56:03 +00:00