pts/200:00:00 ps
There are variations here. This particular example spawned two new
spec processes when I killed one of the sh process. I thought it
worthwhile to publish the one that works. ;)
On Oct 29, 9:54 am, Ashley Moran
wrote:
> On Oct 29, 2009, at 12:28 pm, Student wrote
3:09 am, Student wrote:
>
> > I am writing a script that reads connection information from a config
> > file, and based, on what it finds, connects to multiple mysql servers
> > and performs tasks. To test this script, I need to set up test
> > servers, but getting them runn
I am writing a script that reads connection information from a config
file, and based, on what it finds, connects to multiple mysql servers
and performs tasks. To test this script, I need to set up test
servers, but getting them running without causing the tests to be
rerun when they stop is a bit
Sweet! Thanks!
On Oct 28, 3:52 pm, Ashley Moran
wrote:
> On 28 Oct 2009, at 20:42, Student wrote:
>
> > So now I'm
> > back to the "undefined method `after' for main:Object (NoMethodError)"
> > problem.
>
> I think it was just a typo on D
ethodError)"
problem.
On Oct 28, 12:44 pm, Student wrote:
> Some trouble with the list here...
>
> Hmmm... That yields "undefined method `after' for main:Object
> (NoMethodError)" ... BUT
>
> I'm pretty sure I'm barking up the wrong tree. I think
need to be in separate threads. So I have to background them some
way. I've tried playing games with fork & nohup, but no success so
far. (When these threads exit, even exit!, the test gets reread &
reexecuted.)
On Oct 28, 10:49 am, David Chelimsky wrote:
> On Oct 28, 2009,
er the reruns.
I've tried several variations, nothing is working so far.
On Oct 28, 10:49 am, David Chelimsky wrote:
> On Oct 28, 2009, at 10:41 AM, Student wrote:
>
> > I need to perform some work (shutdown mysql servers & delete their
> > data directories) at the end o
Hmmm... That yields "undefined method `after' for main:Object
(NoMethodError)"
... BUT I'm pretty sure I'm barking up the wrong tree. I think that
I'm getting hung up with mysqld_safe. I'm
On Oct 28, 10:49 am, David Chelimsky wrote:
> On Oct 28, 2009, at
I need to perform some work (shutdown mysql servers & delete their
data directories) at the end of my tests. Naturally, I would like to
use at_exit. HOWEVER, when I do, the spec file gets loaded twice (and
the tests are run twice).
Help?
___
rspec-user
Performance is one of those nasty things that can go from being a non-
issue to THE issue (next to correctness) in the blink of an eye. I am
curious, however. How much total performance difference did this
change make? I'm betting <1%.
Nathan
David Chelimsky wrote:
> On Thu, Nov 27, 2008 at 8:
Everyone seems to agree on the basic issues, but are coming at it from
different viewpoints.
1) If you have a bunch of class methods, you have a problem.
(class#File: I mean you!)
2) Maintainability is paramount.
The question, then, should be: which of these patterns (class << self
or self.metho
11 matches
Mail list logo