Skip to content

Commit 4a334c5

Browse files
committed
log oha command line
Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
1 parent a7190f1 commit 4a334c5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
## [Unreleased][]
44

5-
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-reliably/compare/0.80.2...HEAD
5+
[Unreleased]: https://github.com/chaostoolkit-incubator/chaostoolkit-reliably/compare/0.80.3...HEAD
6+
7+
## [0.80.3][]
8+
9+
[0.80.3]: https://github.com/chaostoolkit-incubator/chaostoolkit-reliably/compare/0.80.2...0.80.3
10+
11+
* Log oha command line
612

713
## [0.80.2][]
814

chaosreliably/activities/load/actions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ def run_load_test(
252252

253253
env = {} # type: Dict[str, str]
254254
try:
255+
logger.debug(f"Running command {cmd}")
255256
p = subprocess.run( # nosec
256257
cmd,
257258
timeout=duration + 60,
@@ -272,7 +273,7 @@ def run_load_test(
272273
stderr = decode_bytes(p.stderr)
273274

274275
logger.debug(f"oha exit code: {p.returncode}")
275-
logger.debug(f"locust stderr: {stderr}")
276+
logger.debug(f"oha stderr: {stderr}")
276277

277278
try:
278279
results = cast(Dict[str, Any], json.loads(stdout))

0 commit comments

Comments
 (0)