update(test): setup bidi gRPC integration test

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2020-06-01 17:33:33 +02:00 committed by poiana
parent 4af769f84c
commit 6cfb0ec2b8
2 changed files with 7 additions and 5 deletions

View File

@ -31,7 +31,7 @@ stdout_output:
# gRPC server using an unix socket.
grpc:
enabled: true
bind_address: "unix:////tmp/falco.sock"
bind_address: "unix:///tmp/falco/falco.sock"
threadiness: 8
grpc_output:

View File

@ -678,11 +678,13 @@ trace_files: !mux
rules_file:
- rules/single_rule.yaml
conf_file: confs/grpc_unix_socket.yaml
trace_file: trace_files/cat_write.scap
run_duration: 5
grpc:
address: unix:///tmp/falco.sock
proto: output.proto
service: falco.output.service
method: subscribe
address: unix:///tmp/falco/falco.sock
proto: outputs.proto
service: falco.outputs.service
method: get
results:
- "Warning An open was seen"