Skip to content

redisai-go TLS examples are not being properly run  #34

@filipecosta90

Description

@filipecosta90

please notice that even though the examples pass, the TLS example is not being run given there is a missing artifact there... We made this on purpose so that users that don't have certs/redis built with tls/etc... don't have broken examples.

Notice the proper run output:

Building the examples...
GO111MODULE=on go build ./examples/redisai_pipelined_client/.
GO111MODULE=on go build ./examples/redisai_simple_client/.
GO111MODULE=on go build ./examples/redisai_tls_client/.
./redisai_tls_client --tls-cert-file redis/tests/tls/redis.crt \
					 --tls-key-file redis/tests/tls/redis.key \
					 --tls-ca-cert-file redis/tests/tls/ca.crt \
					 --host 127.0.0.1:6379
[1.1 2.2 3.3 4.4]

CircleCI received exit code 0

Notice the current output (Some of the required files does not exist. Leaving example...):

Building the examples... 
GO111MODULE=on go build ./examples/redisai_pipelined_client/.
GO111MODULE=on go build ./examples/redisai_simple_client/.
GO111MODULE=on go build ./examples/redisai_tls_client/.
./redisai_tls_client --tls-cert-file redis/utils/tests/tls/redis.crt \
					 --tls-key-file redis/utils/tests/tls/redis.key \
					 --tls-ca-cert-file redis/utils/tests/tls/ca.crt \
					 --host 127.0.0.1:6379
Some of the required files does not exist. Leaving example...

CircleCI received exit code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions