aboutsummaryrefslogtreecommitdiff
path: root/mobly
diff options
context:
space:
mode:
Diffstat (limited to 'mobly')
-rw-r--r--mobly/base_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobly/base_test.py b/mobly/base_test.py
index 1742f19..5b1e98f 100644
--- a/mobly/base_test.py
+++ b/mobly/base_test.py
@@ -660,6 +660,7 @@ class BaseTestClass:
content: dict, the data to add to summary file.
"""
if 'timestamp' not in content:
+ content = content.copy()
content['timestamp'] = utils.get_current_epoch_time()
self.summary_writer.dump(content, records.TestSummaryEntryType.USER_DATA)