Apache Directory Project - [Testing Feature Idea] Automatic Cleanup

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2007 > [Testing Feature Idea] Automatic Cleanup





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Testing Feature Idea] Automatic Cleanup
Ole Ersoy

2007-06-06, 7:11 pm

Hey Guys,

When I run my tearDown() methods, "Occasionally" something is off in the test and the tearDown() is thus incomplete. It would be great if there was a trigger or something that could be called on the server which would "Hot" reset it to its fresh install
state. That way if the tearDown failed, this could be used as a last resort. Does this sound useful? Should I put feature requests like this straight in JIRA, and then wait for discussion, or is this the preferred way?

Thanks,
- Ole


Alex Karasulu

2007-06-07, 1:11 am

Hmmm there's probably a better way to build this into the test cases. Also
you don't know
if that trigger/sp can execute depending on when that thing that goes wrong
went wrong in
the shutdown sequence.

Not worth bothering with it I think. But a good idea.

Alex

On 6/6/07, Ole Ersoy <ole.ersoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hey Guys,
>
> When I run my tearDown() methods, "Occasionally" something is off in the
> test and the tearDown() is thus incomplete. It would be great if there was
> a trigger or something that could be called on the server which would "Hot"
> reset it to its fresh install state. That way if the tearDown failed, this
> could be used as a last resort. Does this sound useful? Should I put
> feature requests like this straight in JIRA, and then wait for discussion,
> or is this the preferred way?
>
> Thanks,
> - Ole
>
>


Ole Ersoy

2007-06-07, 1:11 pm

Yeah - it might be one of those things that are only used by a few developers...maybe just me :-) Yesterday for instance I was writing to both a hot partition and the schema partition. If something went wrong I had to go and tearDown everything manually
, and this cost me at least a few hours. I also had to code a manual tear sequence for hot partitions because LS does not see them, and comment out certain areas each time depending on what failed. Anyways could be I am the only one with this type of te
ar down scenario, in which case it's trivial. I think these are behind me for now anyways .... knock on wood.

Cheers,
- Ole



Alex Karasulu wrote:
> Hmmm there's probably a better way to build this into the test cases.
> Also you don't know
> if that trigger/sp can execute depending on when that thing that goes
> wrong went wrong in
> the shutdown sequence.
>
> Not worth bothering with it I think. But a good idea.
>
> Alex
>
> On 6/6/07, *Ole Ersoy* <ole.ersoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> <mailto:ole.ersoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote:
>
> Hey Guys,
>
> When I run my tearDown() methods, "Occasionally" something is off in
> the test and the tearDown() is thus incomplete. It would be great
> if there was a trigger or something that could be called on the
> server which would "Hot" reset it to its fresh install state. That
> way if the tearDown failed, this could be used as a last
> resort. Does this sound useful? Should I put feature requests like
> this straight in JIRA, and then wait for discussion, or is this the
> preferred way?
>
> Thanks,
> - Ole
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com