From ada410021a966605f9c466beafa1fcb3f607bf34 Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Fri, 26 Jun 2015 14:12:03 +1200 Subject: [PATCH] Make tests less likely to fail due to timing edge cases eg. https://travis-ci.org/piwik/piwik/jobs/68411560 --- tests/PHPUnit/Integration/CronArchiveTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/PHPUnit/Integration/CronArchiveTest.php b/tests/PHPUnit/Integration/CronArchiveTest.php index 394b70f046..6559157fb5 100644 --- a/tests/PHPUnit/Integration/CronArchiveTest.php +++ b/tests/PHPUnit/Integration/CronArchiveTest.php @@ -101,22 +101,22 @@ NOTES --------------------------- START Starting Piwik reports archiving... -Will pre-process for website id = 1, period = day, date = last52 +Will pre-process for website id = 1, period = day, date = last%s - pre-processing all visits - skipping segment archiving for 'actions>=4'. - pre-processing segment 1/1 actions>=2 Archived website id = 1, period = day, 1 segments, 0 visits in last %s days, 0 visits today, Time elapsed: %s -Will pre-process for website id = 1, period = week, date = last198 +Will pre-process for website id = 1, period = week, date = last%s - pre-processing all visits - skipping segment archiving for 'actions>=4'. - pre-processing segment 1/1 actions>=2 Archived website id = 1, period = week, 1 segments, 1 visits in last %s weeks, 1 visits this week, Time elapsed: %s -Will pre-process for website id = 1, period = month, date = last52 +Will pre-process for website id = 1, period = month, date = last%s - pre-processing all visits - skipping segment archiving for 'actions>=4'. - pre-processing segment 1/1 actions>=2 Archived website id = 1, period = month, 1 segments, 1 visits in last %s months, 1 visits this month, Time elapsed: %s -Will pre-process for website id = 1, period = year, date = last7 +Will pre-process for website id = 1, period = year, date = last%s` - pre-processing all visits - skipping segment archiving for 'actions>=4'. - pre-processing segment 1/1 actions>=2 -- GitLab