Skip to content

Commit 4088063

Browse files
authored
OpenVINO 2024.3 and TVM v0.16.0 results + docker handler fix (#566)
1 parent 9ff3f9f commit 4088063

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
Binary file not shown.
Binary file not shown.

src/benchmark/tests/test_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_infrastructure(executor_instance, mocker):
110110
assert re.match(r'CPU: .* CPU family: .* GPU: .* RAM size: .* OS family: .* OS version: .* Python version: .*',
111111
ex.get_infrastructure())
112112
else:
113-
assert ex.get_infrastructure() == 'test: test'
113+
assert ex.get_infrastructure() == 'None'
114114

115115

116116
@pytest.mark.parametrize('executor_instance', [get_host_executor, get_docker_executor])
@@ -120,7 +120,7 @@ def test_execute_process(executor_instance, mocker):
120120
assert ex.execute_process(command_line='echo -n test | md5sum',
121121
timeout=999)[1][0] == '098f6bcd4621d373cade4e832627b4f6 -\n'
122122
else:
123-
assert ex.execute_process(command_line='test docker', _=None) == (0, ['test: test'])
123+
assert ex.execute_process(command_line='test docker', _=None) == (400, ['test: test'])
124124

125125

126126
@pytest.mark.parametrize('executor_instance', [get_host_executor, get_docker_executor])

src/utils/docker_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def run(self):
3333
exit_metadata = self.docker_client.api.exec_inspect(exec_instance['Id'])
3434
exit_code = exit_metadata['ExitCode']
3535
self.exit_code = exit_code if Status.has_value(exit_code) else Status.PROCESS_CMD_ERROR.value
36-
36+
self.return_code = self.exit_code
3737
self.log.info(f'Docker returncode = {self.exit_code}')

0 commit comments

Comments
 (0)