Skip to content

Commit bffb7b3

Browse files
committed
ci: pcap enable
1 parent 591c495 commit bffb7b3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitlab/ci/e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
MARKERS: ""
2828
ARGS: ""
2929
FORCE_DOWNLOAD: "false"
30+
PCAP: "" # Disabled by default
3031
tags:
3132
- on-prem-amd64
3233
extends:
@@ -46,6 +47,7 @@
4647
export LOGNAME=$GITLAB_USER_LOGIN
4748
export RETINA_LOGLEVEL="$LOG_LEVEL"
4849
export RETINA_FORCE_DOWNLOAD_REPORT="$FORCE_DOWNLOAD"
50+
export RETINA_PCAP_ENABLE="$PCAP"
4951
- retina-launcher --retina-request ${REQUEST} --self-contained-html --html=./log/report.html --junitxml=out.xml "${ARGS}" -m "${MARKERS}" .
5052
after_script:
5153
- |
@@ -68,6 +70,7 @@ smoke-zmq-tsan:
6870
MARKERS: "smoke and not tcp and not multiue"
6971
ARGS: "-x"
7072
LOG_LEVEL: "debug"
73+
PCAP: "true"
7174
needs:
7275
- job: "avx2 [tsan, cached]"
7376
artifacts: true

tests/e2e/tests/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def get_ue_gnb_epc(self, extra, band, common_scs, bandwidth, mcs, ue_count):
5050
"bandwidth": bandwidth,
5151
"mcs": mcs,
5252
"log_level": get_loglevel(),
53+
"pcap": bool(os.environ["RETINA_PCAP_ENABLE"])
5354
}
5455
},
5556
}

0 commit comments

Comments
 (0)