mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
fix(ci): add falkordb service
Signed-off-by: monkey92t <golang@88.com>
This commit is contained in:
parent
caa75ac3a7
commit
34b656a0a4
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -25,6 +25,12 @@ jobs:
|
||||
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
ports:
|
||||
- 6379:6379
|
||||
falkordb:
|
||||
image: falkordb/falkordb:edge
|
||||
options: >-
|
||||
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
ports:
|
||||
- 36379:6379
|
||||
|
||||
steps:
|
||||
- name: Set up ${{ matrix.go-version }}
|
||||
|
@ -5627,7 +5627,7 @@ func (cmd *GraphCmd) readGraph(rd *proto.Reader) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// node = 3, id +labels +properties
|
||||
// node = 3, id +labels + properties
|
||||
func (cmd *GraphCmd) readNode(rd *proto.Reader) (GraphNode, error) {
|
||||
node := GraphNode{}
|
||||
for j := 0; j < 3; j++ {
|
||||
|
@ -12,7 +12,10 @@ var _ = Describe("Client", func() {
|
||||
var graph = "test-graph"
|
||||
|
||||
BeforeEach(func() {
|
||||
client = redis.NewClient(redisOptions())
|
||||
// redisgraph / falkordb
|
||||
opt := redisOptions()
|
||||
opt.Addr = ":36379"
|
||||
client = redis.NewClient(opt)
|
||||
Expect(client.FlushDB(ctx).Err()).NotTo(HaveOccurred())
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user