mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
appropriate report selected
This commit is contained in:
parent
d69e62f44c
commit
d6d5b5854e
@ -295,7 +295,7 @@ public class RegressionTest extends TestCase {
|
|||||||
DateFormat dateFormat = new SimpleDateFormat("MM-dd-yyyy-HH-mm-ss");
|
DateFormat dateFormat = new SimpleDateFormat("MM-dd-yyyy-HH-mm-ss");
|
||||||
Date date = new Date();
|
Date date = new Date();
|
||||||
String datenotime = dateFormat.format(date);
|
String datenotime = dateFormat.format(date);
|
||||||
listOperator.clickOnItem(1, 1);
|
listOperator.clickOnItem(0, 1);
|
||||||
new Timeout("pausing", 1000).sleep();
|
new Timeout("pausing", 1000).sleep();
|
||||||
jbo0.pushNoBlock();
|
jbo0.pushNoBlock();
|
||||||
new Timeout("pausing", 1000).sleep();
|
new Timeout("pausing", 1000).sleep();
|
||||||
|
@ -242,11 +242,10 @@ class TestRunner(object):
|
|||||||
print("DB diff passed: ", test_data.db_diff_passed)
|
print("DB diff passed: ", test_data.db_diff_passed)
|
||||||
|
|
||||||
# run time test only for the specific jenkins test
|
# run time test only for the specific jenkins test
|
||||||
if test_data.main_config.timing:
|
if test_data.main_config.timing:
|
||||||
if test_data.main_config.timing:
|
old_time_path = test_data.get_run_time_path()
|
||||||
old_time_path = test_data.get_run_time_path()
|
passed = TestResultsDiffer._run_time_diff(test_data, old_time_path)
|
||||||
passed = TestResultsDiffer._run_time_diff(test_data, old_time_path)
|
test_data.run_time_passed = passed
|
||||||
test_data.run_time_passed = passed
|
|
||||||
print("Run time test passed: ", test_data.run_time_passed)
|
print("Run time test passed: ", test_data.run_time_passed)
|
||||||
test_data.overall_passed = (test_data.html_report_passed and
|
test_data.overall_passed = (test_data.html_report_passed and
|
||||||
test_data.errors_diff_passed and test_data.db_diff_passed and
|
test_data.errors_diff_passed and test_data.db_diff_passed and
|
||||||
@ -667,7 +666,7 @@ class TestConfiguration(object):
|
|||||||
timer = 0
|
timer = 0
|
||||||
self.images = []
|
self.images = []
|
||||||
self.jenkins = False
|
self.jenkins = False
|
||||||
self.timing = False
|
self.timing = True
|
||||||
# Set the timeout to something huge
|
# Set the timeout to something huge
|
||||||
# The entire tester should not timeout before this number in ms
|
# The entire tester should not timeout before this number in ms
|
||||||
# However it only seems to take about half this time
|
# However it only seems to take about half this time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user