From 6cfb0ec2b8c1e4b023360621c10a7b34bf6cb5a5 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Mon, 1 Jun 2020 17:33:33 +0200 Subject: [PATCH] update(test): setup bidi gRPC integration test Signed-off-by: Leonardo Grasso --- test/confs/grpc_unix_socket.yaml | 2 +- test/falco_tests.yaml | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test/confs/grpc_unix_socket.yaml b/test/confs/grpc_unix_socket.yaml index c116efab..df71cb91 100644 --- a/test/confs/grpc_unix_socket.yaml +++ b/test/confs/grpc_unix_socket.yaml @@ -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: diff --git a/test/falco_tests.yaml b/test/falco_tests.yaml index 238cfe23..1c678530 100644 --- a/test/falco_tests.yaml +++ b/test/falco_tests.yaml @@ -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"