mirror of
https://github.com/redis/go-redis.git
synced 2025-07-16 13:21:51 +03:00
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
|
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 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:
|
steps:
|
||||||
- name: Set up ${{ matrix.go-version }}
|
- name: Set up ${{ matrix.go-version }}
|
||||||
|
@ -5627,7 +5627,7 @@ func (cmd *GraphCmd) readGraph(rd *proto.Reader) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// node = 3, id +labels +properties
|
// node = 3, id +labels + properties
|
||||||
func (cmd *GraphCmd) readNode(rd *proto.Reader) (GraphNode, error) {
|
func (cmd *GraphCmd) readNode(rd *proto.Reader) (GraphNode, error) {
|
||||||
node := GraphNode{}
|
node := GraphNode{}
|
||||||
for j := 0; j < 3; j++ {
|
for j := 0; j < 3; j++ {
|
||||||
|
@ -12,7 +12,10 @@ var _ = Describe("Client", func() {
|
|||||||
var graph = "test-graph"
|
var graph = "test-graph"
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
client = redis.NewClient(redisOptions())
|
// redisgraph / falkordb
|
||||||
|
opt := redisOptions()
|
||||||
|
opt.Addr = ":36379"
|
||||||
|
client = redis.NewClient(opt)
|
||||||
Expect(client.FlushDB(ctx).Err()).NotTo(HaveOccurred())
|
Expect(client.FlushDB(ctx).Err()).NotTo(HaveOccurred())
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user