Skip to content

Commit

Permalink
[runner] Fix logging message (google#1216)
Browse files Browse the repository at this point in the history
Related: google#1198
  • Loading branch information
jonathanmetzman authored Aug 5, 2021
1 parent 7c3d47a commit 229b225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion experiment/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def record_stats(self):
self.log_file)

except Exception: # pylint: disable=broad-except
logs.error('Call to %d failed.', fuzzer_module_get_stats)
logs.error('Call to %s failed.', fuzzer_module_get_stats)
return

try:
Expand Down
2 changes: 1 addition & 1 deletion experiment/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def get_stats(output_directory, log_filename):
stats_file = os.path.join(trial_runner.results_dir, 'stats-%d.json' % cycle)
assert not os.path.exists(stats_file)
mocked_log_error.assert_called_with(
'Call to %d failed.', FuzzerAModuleGetStatsException.get_stats)
'Call to %s failed.', FuzzerAModuleGetStatsException.get_stats)


def test_trial_runner(trial_runner):
Expand Down

0 comments on commit 229b225

Please sign in to comment.