List:Maria Storage Engine« Previous MessageNext Message »
From:Guilhem Bichot Date:May 29 2008 11:55am
Subject:maria-purge.test alone and not alone
View as plain text  
Hello Sanja,

when running
./mtr --big maria-purge
the test passes.
When running
./mtr --big t/*maria*.test it fails like this:
--- /home/mysql_src/mysql-maria-monty/mysql-test/r/maria-purge.result   2008-01-08
11:40:43.000000000 +0300
+++ /home/mysql_src/mysql-maria-monty/mysql-test/r/maria-purge.reject   2008-05-29
14:49:51.000000000 +0300
@@ -37,13 +37,13 @@
 set global maria_checkpoint_interval=30;
 SHOW ENGINE maria logs;
 Type   Name    Status
-maria  master-data/maria_log.00000002  in use
+maria  master-data/maria_log.00000003  in use
 insert into t2 select * from t1;
 insert into t1 select * from t2;
 set global maria_checkpoint_interval=30;
 SHOW ENGINE maria logs;
 Type   Name    Status
-maria  master-data/maria_log.00000004  in use
+maria  master-data/maria_log.00000005  in use
 set global maria_log_file_size=16777216;
 select @@global.maria_log_file_size;
 @@global.maria_log_file_size
etc

I think this is because maria-purge does not reset logs at start, so
is influenced by the amount of log created by the previous tests.
Can I try to use
include/maria_empty_logs.inc into this test?

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Guilhem Bichot <guilhem@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL France, Lead Software Engineer
/_/  /_/\_, /___/\___\_\___/   Bordeaux, France
       <___/   www.mysql.com   
Thread
maria-purge.test alone and not aloneGuilhem Bichot29 May
  • Re: maria-purge.test alone and not aloneSanja Byelkin30 May