Re: Problem with headless Gump tests

2004-02-09 Thread Jordi Salvat i Alabart
I recently changed some GUI-related code in test methods. It may be 
related. I'm attaching the relevant CVS commit message.

BTW, any idea why Gump nags are not working? Issues like this would be 
spotted much quicker if they did.

--
Salut,
Jordi.

BAZLEY, Sebastian wrote:
Something has broken the test setup when running headless - i.e. with no
display hardware.
This may be because of something I changed; anyway, I'll try to have a look
at it later today.
By the way, one can use the test-headless Ant build target to test running
headless - I must have forgotten to do that recently ...
S.

___

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---BeginMessage---
jsalvata2004/02/05 15:37:33

  Modified:src/core/org/apache/jmeter/junit JMeterTest.java
  Log:
  Properly initializing the GUI so that GUI-related tests work.
  
  Revision  ChangesPath
  1.42  +9 -1  jakarta-jmeter/src/core/org/apache/jmeter/junit/JMeterTest.java
  
  Index: JMeterTest.java
  ===
  RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/junit/JMeterTest.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- JMeterTest.java   1 Feb 2004 13:27:09 -   1.41
  +++ JMeterTest.java   5 Feb 2004 23:37:33 -   1.42
  @@ -21,6 +21,7 @@
   import org.apache.jmeter.gui.GuiPackage;
   import org.apache.jmeter.gui.JMeterGUIComponent;
   import org.apache.jmeter.gui.UnsharedComponent;
  +import org.apache.jmeter.gui.action.ActionRouter;
   import org.apache.jmeter.gui.tree.JMeterTreeListener;
   import org.apache.jmeter.gui.tree.JMeterTreeModel;
   import org.apache.jmeter.gui.tree.JMeterTreeNode;
  @@ -106,7 +107,14 @@
   // ensure the GuiPackage is initialized.
   JMeterTreeModel treeModel = new JMeterTreeModel();
   JMeterTreeListener treeLis = new JMeterTreeListener(treeModel);
  +treeLis.setActionHandler(ActionRouter.getInstance());
   GuiPackage.getInstance(treeLis, treeModel);
  +// The GuiPackage needs a MainFrame to work:
  +org.apache.jmeter.gui.MainFrame main =
  +new org.apache.jmeter.gui.MainFrame(
  +ActionRouter.getInstance(),
  +treeModel,
  +treeLis);
   
TestSuite suite = new TestSuite();
suite.addTest(new JMeterTest(createTitleSet));
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---End Message---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with headless Gump tests

2004-02-09 Thread Stefan Bodewig
On Mon, 09 Feb 2004, Jordi Salvat i. Alabart [EMAIL PROTECTED] wrote:

 BTW, any idea why Gump nags are not working? Issues like this would
 be spotted much quicker if they did.

I don't have the historical data necessary to say whether you should
expect nags at all.  JMeter hasn't been built by Gump last night as
the velocity build has failed.

And the nag mails get sent from [EMAIL PROTECTED] according to the Gump
descriptor.  I don't know whether jmeter-dev is moderated - if so, the
mails won't reach the list if Geir isn't subscribed.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with headless Gump tests

2004-02-09 Thread BAZLEY, Sebastian
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: 09 February 2004 12:57
To: JMeter Developers List
Subject: Re: Problem with headless Gump tests


On Mon, 09 Feb 2004, Jordi Salvat i. Alabart [EMAIL PROTECTED] wrote:

 BTW, any idea why Gump nags are not working? Issues like this would
 be spotted much quicker if they did.

I don't have the historical data necessary to say whether you should
expect nags at all.  JMeter hasn't been built by Gump last night as
the velocity build has failed.

We did use to get nags a long time ago, when Gump was working on
cvs.apache.org

I've not seen any from the current Gumps (covalent, cocoondev, lsd, nagoya).


And the nag mails get sent from [EMAIL PROTECTED] according to the Gump
descriptor.  I don't know whether jmeter-dev is moderated - if so, the
mails won't reach the list if Geir isn't subscribed.


Does that mean we could change the Gump descriptor to one of us (i.e. one of
the committers) instead?
[Or perhaps we one can use the list owner or subscribe a dummy user...]

Sebastian


___

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with headless Gump tests

2004-02-09 Thread BAZLEY, Sebastian
-Original Message-
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: 09 February 2004 12:32
To: JMeter Developers List
Subject: Re: Problem with headless Gump tests


I recently changed some GUI-related code in test methods. It may be 
related. I'm attaching the relevant CVS commit message.


Yes, I think that's it:
 +treeLis.setActionHandler(ActionRouter.getInstance());
seems to not work headless.

Not quite sure what to do about this - possibly call those methods as part
of a new early test, rather than as part of the suite, as crashing the suite
means no tests are run later.
Not all of the subsequent tests required them, as far as I know.

S.


___

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with headless Gump tests

2004-02-09 Thread Jordi Salvat i Alabart
Nags used to reach jmeter-dev a (long) while ago. Last one in my records 
is 28th july.

I think one of the Gump machines --the only one nagging-- stopped 
working, and we've never had nags since.

jmeter-dev is moderated -- but non-subscriber's e-mails can still reach 
it: the moderators receive a warning message and have to allow/deny 
distribution. I'm currently one of the moderators and I've not seen any 
Gump messages recently (otherwise I would have let them in, of course).

--
Salut,
Jordi.

Stefan Bodewig wrote:
On Mon, 09 Feb 2004, Jordi Salvat i. Alabart [EMAIL PROTECTED] wrote:


BTW, any idea why Gump nags are not working? Issues like this would
be spotted much quicker if they did.


I don't have the historical data necessary to say whether you should
expect nags at all.  JMeter hasn't been built by Gump last night as
the velocity build has failed.
And the nag mails get sent from [EMAIL PROTECTED] according to the Gump
descriptor.  I don't know whether jmeter-dev is moderated - if so, the
mails won't reach the list if Geir isn't subscribed.
Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problem with headless Gump tests

2004-02-09 Thread Stefan Bodewig
On Mon, 09 Feb 2004, Sebastian BAZLEY
[EMAIL PROTECTED] wrote:
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]

I don't have the historical data necessary to say whether you should
expect nags at all.  JMeter hasn't been built by Gump last night as
the velocity build has failed.
 
 We did use to get nags a long time ago, when Gump was working on
 cvs.apache.org

Yes, I know.  I meant that I don't know whether JMeter has been built
on lsd when the failure occured.  lsd runs the Python rewrite of Gump
(Gumpy) and until later last week Gumpy didn't honor optional
dependencies for example.

 Does that mean we could change the Gump descriptor to one of us
 (i.e. one of the committers) instead?

Of course you can, I even encourage you to do so 8-)

Stefan
-- 
http://stefanbodewig.blogger.de/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]