Skip to content

Commit 3f7bd49

Browse files
committed
atest: disable testing server logging when it contains known traceback
1 parent 8e722ad commit 3f7bd49

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

test/atest/resource.robot

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,16 @@ Set Pythonpath
3737
Set Environment Variable IRONPYTHONPATH ${src}
3838

3939
Stop Remote Library
40+
[Arguments] ${test logging}=True
4041
Stop Remote Server
41-
Server Should Be Stopped And Correct Messages Logged
42+
Server Should Be Stopped And Correct Messages Logged ${test logging}
4243

4344
Server Should Be Stopped And Correct Messages Logged
45+
[Arguments] ${test logging}=True
4446
${result} = Wait For Process timeout=10s on_timeout=terminate
4547
${expected} = Catenate SEPARATOR=\n
4648
... Robot Framework remote server at 127.0.0.1:${ACTIVE PORT} starting.
4749
... Robot Framework remote server at 127.0.0.1:${ACTIVE PORT} stopping.
48-
Should Be Equal ${result.stdout} ${expected}
50+
Run Keyword If ${test logging}
51+
... Should Be Equal ${result.stdout} ${expected}
4952
Should Be Equal ${result.rc} ${0}

test/atest/returning.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*** Settings ***
22
Resource resource.robot
33
Suite Setup Start And Import Remote Library returning.py
4-
Suite Teardown Stop Remote Library
4+
Suite Teardown Stop Remote Library test logging='ipy' not in '${INTERPRETER}'
55
Test Template Return Value Should Be
66

77
*** Test Cases ***

0 commit comments

Comments
 (0)