diff options
author | Srikanth B R <srikanth.b.r@oracle.com> | 2015-10-26 16:19:11 +0530 |
---|---|---|
committer | Srikanth B R <srikanth.b.r@oracle.com> | 2015-10-26 16:19:11 +0530 |
commit | a60740607c9581ed2bf92bdd087139ea8d872484 (patch) | |
tree | cb9eee1f9eb95597e1d81d5cf5b780a111737b4e /mysql-test/t/events_1.test | |
parent | dea23408660130f04af7e954811122d86656900f (diff) | |
download | mariadb-git-a60740607c9581ed2bf92bdd087139ea8d872484.tar.gz |
BUG#22084221 : TEST IMPROVEMENT FOR MAIN.EVENTS_1
Issue: main.events_1 will fail after 10-10-2015 due
to hardcoded dates specified with events.
Fix: Replace harcoded dates with current dates and offset.
Diffstat (limited to 'mysql-test/t/events_1.test')
-rw-r--r-- | mysql-test/t/events_1.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/events_1.test b/mysql-test/t/events_1.test index bb71b334219..032d5ecd380 100644 --- a/mysql-test/t/events_1.test +++ b/mysql-test/t/events_1.test @@ -125,7 +125,7 @@ drop event existant; create table t_event3 (a int, b float); drop event if exists event3; -create event event3 on schedule every 50 + 10 minute starts date_add("20100101", interval 5 minute) ends date_add("20251010", interval 5 day) comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand()); +create event event3 on schedule every 50 + 10 minute starts date_add(curdate(), interval 5 minute) ends date_add(curdate(), interval 5 day) comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand()); let $wait_condition=SELECT count(*)=0 from t_event3; --source include/wait_condition.inc select count(*) from t_event3; |