List:Commits« Previous MessageNext Message »
From:Øystein Grøvlen Date:November 4 2008 12:56pm
Subject:Re: bzr commit into mysql-6.0 branch (Rafal.Somla:2717) Bug#33567
Bug#34480 Bug#36933
View as plain text  

Rafal Somla wrote:
> Øystein Grøvlen wrote:
>> STATUS
>> ======
>>
>> One request for change.
>>
>> REQUESTS
>> ========
>>
>> 1. If it is a requirement that duplicate dbs should give error, I
>>    think the test needs to fail if it does not.  Otherwise we would
>>    not detect regressions.  Hence, I think this should be change to
>>    expect an error:
>  >
>>  > +--error 0, ER_NONUNIQ_DB
>>  > +BACKUP DATABASE bup_default, bup_default TO "bup_default1.bak";
>>
> 
> The fact that correct error is given is tested in backup_errors test. 
> Inside backup test, I only set-up a trap for a faulty server as it was 
> before this patch.

OK, I understand.

> 
>>
>> COMMENTARY
>> ===========
>>
>> I do not really see the point in adding tests for something that
>> should not work in case it starts working. It complicates the test to
>> handle something that may never be needed.
>>
> 
> This breaks my heart because I included this test scenario in 
> expectation of your request for something along these lines ;) But if 
> you don't see the point of such test, then I'm fine with leaving backup 
> test unchanged and using only the backup_errors test. Do you concur?

Yes, I think the changes to backup_errors should be sufficient testing 
for this.

--
Øystein
Thread
bzr commit into mysql-6.0 branch (Rafal.Somla:2717) Bug#33567 Bug#34480Bug#36933Rafal Somla31 Oct
  • Re: bzr commit into mysql-6.0 branch (Rafal.Somla:2717) Bug#33567Bug#34480 Bug#36933Øystein Grøvlen4 Nov
    • Re: bzr commit into mysql-6.0 branch (Rafal.Somla:2717) Bug#33567Bug#34480 Bug#36933Rafal Somla4 Nov
      • Re: bzr commit into mysql-6.0 branch (Rafal.Somla:2717) Bug#33567Bug#34480 Bug#36933Øystein Grøvlen4 Nov