Re: How would you troubleshoot this issue?
- From: laredotornado <laredotornado@xxxxxxxxxxx>
- Date: Tue, 27 Oct 2009 14:36:08 -0700 (PDT)
On Oct 27, 12:35 pm, "John B. Matthews" <nos...@xxxxxxxxxxxxxx> wrote:
In article
<5f186206-ee86-47bb-908e-c185f6c20...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
laredotornado<laredotorn...@xxxxxxxxxxx> wrote:
I'm usingJava1.5 on a Mac OS 10.5.6,
Mac OS 10.5.8 is the current minor version of 10.5 (Leopard). I seem to
recall aJava1.5 update in there.
using a Resin 3.0.19 container. I'm trying to run a JUnit test to
test my web service client against the web service, which runs
locally.
What version of JUnit? I'm not sure how to ensure that Resin is using a
particular version, but you might try another.
A strange thing happens. The 1016th test always fails with the below
exception. However, if I switch the order of the tests (in other
words, make the 1016th the 1st so that some other test becomes the
1016th), the new test in the 1016th position also fails with the same
exception . This happens repeatedly no matter what test is in the
1016th slot.
Interestingly, 1016 = 2^10 - 2^3. It's hard not to imagine it's a bad
index of some kind.
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
John, to answer your question, it is JUnit 4.4.
Patricia, per your suggestion, I inserted a trial test
public void testMyTest() {
assertTrue(true);
} // testMyTest
as the 1016th test. It was executed successfully and the execution
died at the 1017th test (same exception as above). However, as I
said, making that 1017th test the 1st causes it to execute fine.
Starting to think this is some constraint on my side, but can't think
what.
Thanks for everyone's help, - Dave
.
- Follow-Ups:
- Re: How would you troubleshoot this issue?
- From: Patricia Shanahan
- Re: How would you troubleshoot this issue?
- References:
- How would you troubleshoot this issue?
- From: laredotornado
- Re: How would you troubleshoot this issue?
- From: John B. Matthews
- How would you troubleshoot this issue?
- Prev by Date: Re: running applications
- Next by Date: Re: How would you troubleshoot this issue?
- Previous by thread: Re: How would you troubleshoot this issue?
- Next by thread: Re: How would you troubleshoot this issue?
- Index(es):
Relevant Pages
|