Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Dec 18, 2024
1 parent b89f4a6 commit 60c60f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/tests/commons/sinspqa/sinsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ def container_spec(image: str = 'sinsp-example:latest', args: list = [], env: di


def process_spec(path: str, args: list, env: dict) -> dict:
args.extend(['-p', os.environ.get('CONTAINER_PLUGIN')])
return {
'path': path,
'args': args,
Expand All @@ -331,11 +330,14 @@ def generate_specs(image: str = 'sinsp-example:latest',
Returns:
A dictionary describing how to run the sinsp-example container
"""
args.extend(['-p', os.environ.get('CONTAINER_PLUGIN')])

specs = []
bpf_args = args.copy()
bpf_args.extend([
'-b', os.environ.get('BPF_PROBE'),
])

modern_bpf_args = args.copy()
modern_bpf_args.append('-m')

Expand Down

0 comments on commit 60c60f8

Please sign in to comment.