September 29, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:09:26] *** alesj has quit IRC
[00:13:58] *** ALR has quit IRC
[00:14:07] *** ALR has joined #jbosstesting
[00:20:22] <ALR> aslak: Pingy
[00:21:26] *** jose_freitas has quit IRC
[00:36:51] *** jharting has quit IRC
[01:20:50] <aslak> ALR, pong
[01:21:09] <ALR> aslak: I got everything hooked up for that injection of ModelControllerClient I *think*
[01:21:24] *** aaronwalker has joined #jbosstesting
[01:21:27] <aslak> ALR, ok, cool
[01:21:28] <ALR> But when using @ArquillianResource the ArquillianResourceTestEnricher is throwing errors
[01:21:38] <ALR> It doesn't look too extensible in that regard.
[01:21:44] <aslak> ALR, it's not
[01:21:50] <aslak> ALR, currently
[01:21:52] <ALR> java.lang.RuntimeException: Could not lookup value for field private org.jboss.as.controller.client.ModelControllerClient org.jboss.as.arquillian.container.managed.IntegrationTestCase.mgmtClient
[01:21:53] <ALR> Yeah
[01:21:55] <ALR> So any ideas?
[01:22:02] <ALR> I used @Inject too, but then Weld threw up.
[01:22:09] <aslak> make your own
[01:22:17] <aslak> JBossResource or similar
[01:22:18] <ALR> Uh oh.
[01:22:28] <ALR> We're fracturing the API
[01:22:42] <ALR> Something to keep in mind for the future
[01:22:47] <aslak> ALR, the plan is to make ArqResource extendable, but it's currently not
[01:22:53] <aslak> ALR, it has a open issue
[01:22:54] <ALR> Yeah, or allow a chain
[01:22:56] <ALR> COol
[01:22:57] <ALR> Thanks.
[01:23:17] <ALR> Just wanted to make sure I wasn't missing something noting that it wasn't extensible
[01:23:23] <ALR> To add my own Provider
[01:26:25] <ALR> aslak: Ah damn there's no jboss-as-arquillian-api :)
[01:28:16] <aslak> ALR, :)
[01:28:32] <ALR> aslak: Also about the website
[01:28:33] <aslak> ALR, could you bind it to JNDI ?
[01:28:35] <ALR> I wanna put content in
[01:28:45] <ALR> But there's no placeholder.
[01:28:53] <ALR> And I got a *lot* of those emails to sort through :)
[01:29:05] <ALR> So if you wanna bottom-line me exactly what you want for it...
[01:29:15] <aslak> ALR, place holder?
[01:29:23] <ALR> Well I saw the index page
[01:29:28] <aslak> blog/
[01:29:34] <ALR> Prepare a blog?
[01:29:35] <aslak> or what are you adding?
[01:29:45] <ALR> We talked last week about writing docs
[01:29:49] <ALR> ShrinkWrap-related
[01:29:51] <aslak> aa.
[01:29:57] <ALR> Or I could do a launch blog, sure.
[01:30:02] <ALR> Whatever would be most helpful.
[01:30:06] <aslak> looks in guides
[01:30:56] <aslak> dan was going to push some stuff today i believe, but fo rnow just make some shrinkwrap.haml.html file under guides and type away
[01:31:37] <aslak> ALR, you on the developer branch btw?
[01:31:45] <ALR> Ooh, no
[01:34:00] <aslak> ALR, was going to make a quick dinner tonight, ended up with a 3 hour trip to the emergency room
[01:34:07] <aslak> now i'm crippled
[01:34:08] <ALR> Oh no!
[01:34:11] <ALR> What'd you eat?
[01:34:15] <ALR> Pine nuts?!
[01:34:17] <ALR> :D
[01:34:23] <aslak> not so much what i ate
[01:35:04] <aslak> was chopping some brokolo and chopped of a good chunk of my finger tip
[01:35:31] <aslak> the bastard refused to stop bleeding, so after 4 hours we went to the emergency room to see if they could help
[01:35:48] <aslak> they basically did the exact same thing just righter
[01:38:31] <ALR> Oh no.
[01:38:36] <ALR> I'm sorry man.
[01:39:15] <ALR> aslak: This is a MUST SEE, then: http://www.ebaumsworld.com/video/watch/920731/
[01:41:45] <aslak> :)
[02:24:01] *** aslak has quit IRC
[02:31:34] *** jamezp is now known as jamezp_afk
[03:00:41] *** bleathem is now known as bleathem_
[03:01:08] *** bleathem_ is now known as bleathem
[03:04:41] *** bleathem is now known as bleathem_away
[03:05:38] *** lightguard_jp is now known as jasonporter
[03:06:08] *** jasonporter is now known as lightguard_jp
[03:06:35] *** dblevins has quit IRC
[03:07:23] *** lightguard_jp is now known as lightguard_jp_aw
[03:11:42] *** dblevins has joined #jbosstesting
[03:18:35] *** dblevins has quit IRC
[03:18:46] *** PeteRoyle has quit IRC
[03:23:12] *** dblevins has joined #jbosstesting
[04:04:54] *** lightguard_jp_aw is now known as lightguard_jp
[05:00:47] *** bleathem_away is now known as bleathem
[05:17:19] *** rruss has joined #jbosstesting
[05:17:52] *** PeteRoyle has joined #jbosstesting
[05:21:06] *** jamezp_afk has quit IRC
[05:21:38] *** jamezp_afk has joined #jbosstesting
[05:29:53] *** ldimaggi has quit IRC
[06:18:40] *** maeste has joined #jbosstesting
[06:36:37] *** dmlloyd has quit IRC
[06:36:38] *** OndrejZizka has quit IRC
[06:38:05] *** dmlloyd has joined #jbosstesting
[06:38:05] *** dmlloyd has quit IRC
[06:38:06] *** dmlloyd has joined #jbosstesting
[06:39:17] *** OndrejZizka has joined #jbosstesting
[07:28:49] *** alesj has joined #jbosstesting
[07:32:19] *** Jaikiran has joined #jbosstesting
[07:49:10] *** rruss has quit IRC
[08:14:11] *** tdiesler has joined #jbosstesting
[08:24:30] *** lfryc has joined #jbosstesting
[08:25:02] *** ALR has quit IRC
[08:28:07] *** oskutka has joined #jbosstesting
[08:31:01] *** ge0ffrey has joined #jbosstesting
[08:31:16] *** jamezp_afk has quit IRC
[08:31:56] *** jamezp_afk has joined #jbosstesting
[08:50:01] *** pil-dinner has joined #jbosstesting
[08:51:23] *** maschmid has joined #jbosstesting
[08:53:51] *** bleathem has quit IRC
[08:57:18] *** jharting has joined #jbosstesting
[09:14:54] *** Jaikiran is now known as Jaikiran|brb
[09:15:07] *** pil-dinner is now known as pilhuhn
[09:15:07] *** pilhuhn has joined #jbosstesting
[09:18:31] *** lightguard_jp has quit IRC
[09:54:41] *** mgoldmann has joined #jbosstesting
[09:54:42] *** aslak has joined #jbosstesting
[09:55:44] *** aaronwalker has quit IRC
[10:06:16] *** mgoldmann has quit IRC
[10:07:02] *** mgoldmann has joined #jbosstesting
[10:16:38] *** kpiwko has joined #jbosstesting
[10:43:33] *** jeand has joined #jbosstesting
[10:47:45] *** Jaikiran|brb is now known as Jaikiran
[10:50:47] *** aslak has quit IRC
[11:02:42] *** mgoldmann has quit IRC
[11:03:23] *** mgoldmann has joined #jbosstesting
[11:25:57] *** Jaikiran1 has joined #jbosstesting
[11:28:21] *** Jaikiran has quit IRC
[11:32:39] *** jamezp_afk has quit IRC
[11:33:11] *** jamezp_afk has joined #jbosstesting
[11:37:07] *** mgoldmann_ has joined #jbosstesting
[11:38:13] *** mgoldmann has quit IRC
[11:44:30] *** aslak has joined #jbosstesting
[11:44:30] *** aslak has quit IRC
[11:44:30] *** aslak has joined #jbosstesting
[11:57:22] *** vtunka has joined #jbosstesting
[12:03:27] *** mgoldmann_ has quit IRC
[12:06:05] *** mgoldmann has joined #jbosstesting
[12:06:17] *** mgoldmann has quit IRC
[12:06:17] *** mgoldmann has joined #jbosstesting
[12:10:11] *** jhuska has joined #jbosstesting
[12:40:52] *** mgoldmann has quit IRC
[12:41:24] *** mgoldmann has joined #jbosstesting
[12:54:10] <stuartdouglas> aslak: ping
[13:00:48] *** mgoldmann has quit IRC
[13:01:47] <aslak> stuartdouglas, heya
[13:01:54] <stuartdouglas> hey
[13:02:17] <stuartdouglas> I was just curios, is there any plans to support arquillian having more than one container on the class path at a time?
[13:02:52] <aslak> stuartdouglas, yea
[13:02:55] <stuartdouglas> I am looking at the weld tests ATM, and there are some that use the embedded container directly
[13:03:23] <stuartdouglas> and I can't move them into test-arquillian, as when in container mode is enabled the embedded container is not on the CP
[13:03:39] <aslak> aa, right
[13:03:58] <aslak> we need to move arq client side over to jboss modules or similar to handle it properly
[13:04:32] <stuartdouglas> you are going to have a dependency on jboss-modules in arquillian?
[13:04:54] <stuartdouglas> I was thinking more along the lines of a system property, to specify directly which container to use if more than 1 is found
[13:05:15] <aslak> only for the client side, so we can run with multiple different containers in one run with out conflict
[13:07:02] <aslak> stuartdouglas, hmm, that could work, but the container is more then just the container impl, it defines the runtime environment(enrichers etc). having two on the same cp mixes those runtimes (in 90% of the cases it won't matter, but)
[13:07:35] <stuartdouglas> but inst there just 1 ServiceLoader class that sets it all up?
[13:07:59] <aslak> yea
[13:08:30] <aslak> but we need multiple to support true multi container
[13:08:38] <aslak> nested BeanManagers if you will
[13:11:22] <stuartdouglas> its not a big deal anyway, I am just going to have a separate unit tests maven module
[13:18:37] <vnvarsete> I need to test Hessian using Arquillian. I want to use the com.caucho.services.client.ServiceProxyFactory to test my Hessian endpoint. The ServiceProxyFactory takes the URL of the service as input. Question: Can Arquillian give me the address of the embedded server I'm running? Will it always be localhost?
[13:20:01] <aslak> vnvarsete, assuming your writing a 'as client' test, you can use @ArquillianResource URL
[13:20:28] <aslak> that will give you the web context root
[13:21:47] <vnvarsete> aslak: thanks. When I start a normal JBoss server (not embedded) I have a server.xml where I've defined the port I'm using (8443), using https. How can I define/use server.xml in Arquillian?
[13:22:14] *** maeste has quit IRC
[13:22:41] <aslak> vnvarsete, which container ?
[13:23:04] <vnvarsete> Jboss
[13:23:22] <aslak> v?
[13:23:30] <vnvarsete> aslak: 6.0.0.Final
[13:23:30] <aslak> 6 embedded?
[13:24:21] <aslak> a normal
[13:24:27] <aslak> normal meaning managed i guess
[13:26:15] <aslak> vnvarsete, you'll need to create a profile/configuration that has your server.xml in it, then start that profile using profileName in the configuration
[13:26:19] <aslak> https://docs.jboss.org/author/display/ARQ/JBoss+AS+6.0+-+Managed
[13:26:54] <vnvarsete> aslak: well, in production we use Jboss 6.0.0.Final, and we have a Hessian endpoint, and we use server.xml to say which port (and certificate info etc..). I want to test this using Arquillian, to see if the endpoint works as expected. I want to test using Embedded container (since that's what I'm already using), but don't know to include the server.xml in my deployment
[13:27:38] <aslak> vnvarsete, you can't include it in your deployment, you'll have to include it in the server configuration where you point jbossHome to
[13:28:07] <vnvarsete> aslak: ah, ok:)
[13:28:44] <vnvarsete> aslak: it seems better yes:) well, then I have a plan:)
[13:28:47] <vnvarsete> thanks!
[14:03:25] *** Jaikiran has joined #jbosstesting
[14:07:05] *** Jaikiran1 has quit IRC
[14:09:38] *** jose_freitas has joined #jbosstesting
[14:28:39] *** maeste has joined #jbosstesting
[14:29:06] *** maeste has quit IRC
[14:29:26] *** maeste has joined #jbosstesting
[14:34:28] *** Jaikiran is now known as Jaikiran|brb
[14:36:05] *** tdiesler has quit IRC
[14:40:46] *** rachmatowicz has joined #jbosstesting
[14:43:16] *** ldimaggi has joined #jbosstesting
[14:45:22] <vnvarsete> aslak: can I specify another JBoss instance within $JBOSS_HOME/server to use instead of default, let's say I have made a instance/configuration called viggo
[14:45:50] <vnvarsete> aslak: I assume it's within the configuration of maven-surefire-plugin I have to do something?
[14:48:57] <aslak> profileName
[14:49:03] <aslak> in arq.xml
[14:49:18] *** jose_freitas has quit IRC
[14:53:11] *** oskutka has quit IRC
[14:53:19] *** rruss has joined #jbosstesting
[14:54:32] *** jose_freitas has joined #jbosstesting
[14:56:25] *** oskutka has joined #jbosstesting
[15:00:27] <vnvarsete> aslak: Any link to an example of a complete arquillian.xml. As of now I haven't had the need for arquillian.xml
[15:01:30] <vnvarsete> aslak: At the same time I would also like to set up JBoss to use another port set (using jboss.service.binding.set)
[15:03:39] <aslak> https://github.com/arquillian/arquillian-showcase/blob/master/jaxrs/src/test/resources/arquillian.xml
[15:05:02] <vnvarsete> aslak: thanks, so I would have to add <property name="profileName">viggo</property> in order to start another jboss configuration?
[15:07:13] <aslak> yea
[15:07:36] <vnvarsete> aslak: can I also refer to environment variables/variables in pom.xml from this file?
[15:07:49] <aslak> ${property}
[15:07:59] <vnvarsete> aslak: tusen takk:)
[15:09:18] <vnvarsete> aslak: Currently I have some configuration in my pom.xml referring to jbossws-native-client.jar, jbossweb.sar etc..how would it work when I now introduce arquillian.xml?
[15:09:45] <aslak> same
[15:09:55] *** ldimaggi has quit IRC
[15:10:27] <aslak> those are needed to start the jvm where jboss embedded should start, that is before arquillian can do any work
[15:10:36] <vnvarsete> aslak: So...this:
[15:10:36] <vnvarsete> <additionalClasspathElement>${tt.user.jboss6.home}/server/default/deploy/jbossweb.sar</additionalClasspathElement>
[15:10:36] <vnvarsete> would automatically work even if I use a configuration called viggo in arquillian.xml?
[15:11:22] <vnvarsete> aslak: I ask since server.xml typically is placed in jbossweb.sar directory...
[15:11:53] *** ldimaggi has joined #jbosstesting
[15:12:18] <aslak> oh, ehh.. tja
[15:12:30] <aslak> it's probably correct to set it to viggo
[15:12:52] <aslak> but as long as it's the same sar it's pointing to, not sure it really matters
[15:13:16] <vnvarsete> aslak: The solution is probably to define a property in pom.xml called  ${jboss-configuration} and refer to it from both pom.xml and arquillian.xml
[15:13:26] <aslak> yea
[15:14:51] <vnvarsete> 8-)
[15:18:43] <vnvarsete> aslak: Do I need to do something in order for arquillian to pick up arquillian.xml? or just be placing it in src/test/resources will do=
[15:20:19] <aslak> that will do
[15:22:17] <vnvarsete> aslak: Hmm, I have a test that working as it should, but then I add arquillian.xml with the following content:
[15:22:24] <vnvarsete>     <container qualifier="dev" default="true">
[15:22:24] <vnvarsete>         <configuration>
[15:22:24] <vnvarsete>             <property name="jbossHome">${tt.user.jboss6.home}</property>
[15:22:24] <vnvarsete>             <property name="profileName">${tix.server.name}</property>
[15:22:24] <vnvarsete>         </configuration>
[15:22:25] <vnvarsete>     </container>
[15:22:36] <vnvarsete> and when I run the test once more I get 15:20:13,658 INFO  [ContainerRegistryCreator] Could not read active container configuration: null
[15:23:39] <aslak> vnvarsete, your not running with -Darquillian.launch='container.qualifier'
[15:24:00] <aslak> vnvarsete, it's trying to tell you that since you don't have that set, it will use the one defined as default
[15:24:21] <vnvarsete> aslak: ah,ok. When I hardcoded the profileName it worked...strange
[15:24:27] *** bgeorges has joined #jbosstesting
[15:24:55] <vnvarsete> aslak: Can I set the arquillian.launch in a profile i pom.xml?
[15:28:51] <vnvarsete> aslak: It didn't work with the arquillian.launch. Seems that resolving ${tix.server.name} is the problem
[15:30:11] <vnvarsete> aslak: But don't think about it, it's a minor thing for now, and I can live with the hardcoded value for profileName in arquillian.xml
[15:39:24] *** jamezp_afk has quit IRC
[15:39:59] *** jamezp_afk has joined #jbosstesting
[15:54:17] *** bleathem has joined #jbosstesting
[15:59:43] *** rruss has quit IRC
[16:02:36] *** Jaikiran|brb has quit IRC
[16:19:19] *** oskutka has quit IRC
[16:23:10] *** Jaikiran has joined #jbosstesting
[16:35:31] <aslak> kpiwko, drone good to go final on saturday/sunday?
[16:36:01] <kpiwko> aslak: hmm
[16:36:16] <kpiwko> aslak: it should work if we reschedule some of the feature request :)
[16:36:46] *** ldimaggi has quit IRC
[16:37:00] <kpiwko> aslak: basically I'd love to have @FailureLogging support in final
[16:37:11] <kpiwko> however, I'm afraid it required some changes in arquillian
[16:38:02] <kpiwko> aslak: basically I was not able to get test result by any @Observer I tried...it is possible to @Observe Throwable, but AssertionError is not fired by Arquillian at all
[16:38:17] *** ldimaggi has joined #jbosstesting
[16:38:21] <kpiwko> aslak: so we can release final and let this happend in 1.1
[16:38:37] <kpiwko> *happend
[16:38:39] <kpiwko> wdyt?
[16:41:53] <aslak> kpiwko, no you need to Observer TestResult
[16:42:46] *** mgoldmann has joined #jbosstesting
[16:43:08] <kpiwko> aslak: no way I missed that :/...I observed Object and went through the list of all fired objects
[16:44:48] <aslak> kpiwko, TestResult should be added to the context when @Test has executed, both incontainer and as client. adding it to conext will fire a exception
[16:45:13] *** jharting has quit IRC
[16:46:31] <kpiwko> aslak: any reason why it is not in TestScope by default?
[16:47:11] *** lightguard_jp has joined #jbosstesting
[16:48:51] <aslak> kpiwko, it is
[16:49:23] <aslak> kpiwko, https://github.com/arquillian/arquillian-core/blob/master/container/test-impl-base/src/main/java/org/jboss/arquillian/container/test/impl/execution/LocalTestExecuter.java#L52
[16:50:51] <kpiwko> aslak: sorry, I must have skipped a line while reading your last comment
[17:02:33] *** vtunka has quit IRC
[17:06:34] *** jamezp_afk is now known as jamezp
[17:06:55] *** jose_freitas_ has joined #jbosstesting
[17:10:34] *** jose_freitas has quit IRC
[17:17:03] *** vtunka has joined #jbosstesting
[17:21:38] *** mgoldmann has quit IRC
[17:22:07] *** mgoldmann has joined #jbosstesting
[17:30:56] *** jamezp has quit IRC
[17:31:23] *** jamezp has joined #jbosstesting
[17:32:55] <kpiwko> aslak: I think Drone is ready to go on saturday...there are no reported issue and all feature request should go to 1.0+ as heavier modification will required
[17:33:06] <kpiwko> *no reported issues
[17:33:47] <aslak> kpiwko, cool
[17:34:02] <kpiwko> aslak: I unscheduled all reported (1) 1.0.0.Final issues
[17:35:07] <aslak> kpiwko, just made you drone_1.1.next
[17:35:17] <kpiwko> aslak: great
[17:36:04] <aslak> drone_1.1.0.next actually
[17:36:06] <aslak> :)
[17:42:24] *** maeste has quit IRC
[17:48:27] *** ldimaggi has quit IRC
[17:54:47] *** jose_freitas has joined #jbosstesting
[17:58:02] *** jose_freitas_ has quit IRC
[17:58:15] *** mgoldmann_ has joined #jbosstesting
[18:00:07] *** vtunka has quit IRC
[18:00:49] *** ldimaggi has joined #jbosstesting
[18:01:25] *** mgoldmann has quit IRC
[18:07:46] *** jamezp has quit IRC
[18:08:14] *** jamezp has joined #jbosstesting
[18:12:27] *** pilhuhn is now known as pil-dinner
[18:16:01] *** maschmid has quit IRC
[18:21:37] *** mgoldmann_ has quit IRC
[18:22:39] *** mgoldmann has joined #jbosstesting
[18:23:13] *** rruss has joined #jbosstesting
[18:30:27] *** ldimaggi has quit IRC
[18:33:34] *** jhuska has quit IRC
[18:35:00] *** kpiwko has quit IRC
[18:43:52] *** ldimaggi has joined #jbosstesting
[18:44:11] *** mgoldmann has quit IRC
[19:00:23] *** stuartdouglas has quit IRC
[19:05:18] *** vtunka has joined #jbosstesting
[19:16:27] *** stuartdouglas has joined #jbosstesting
[19:35:02] *** stuartdouglas has quit IRC
[19:37:36] *** bdlink has joined #jbosstesting
[19:38:49] *** rruss has quit IRC
[19:44:33] *** tdiesler has joined #jbosstesting
[19:51:38] *** stuartdouglas has joined #jbosstesting
[20:10:59] *** bgeorges_ has joined #jbosstesting
[20:11:49] *** bgeorges has quit IRC
[20:17:55] *** rruss has joined #jbosstesting
[20:19:29] *** vtunka has quit IRC
[20:22:16] *** lincolnthree has joined #jbosstesting
[20:22:16] *** rruss has quit IRC
[20:34:33] *** jeand has quit IRC
[20:43:45] *** Jaikiran has quit IRC
[20:48:40] *** lightguard_jp has quit IRC
[20:48:57] *** jeand has joined #jbosstesting
[20:49:23] *** oskutka has joined #jbosstesting
[20:50:42] *** oskutka has quit IRC
[20:55:51] *** pil-dinner is now known as pilhuhn
[21:02:39] *** rruss has joined #jbosstesting
[21:04:01] *** jamezp is now known as jamezp_afk
[21:14:36] *** ge0ffrey has quit IRC
[21:17:07] *** nilian has joined #jbosstesting
[21:17:59] *** pilhuhn has quit IRC
[21:19:05] *** jose_freitas has quit IRC
[21:24:35] *** jose_freitas has joined #jbosstesting
[21:33:28] *** tdiesler has quit IRC
[21:50:55] *** nilian has quit IRC
[21:54:38] *** jamezp_afk has quit IRC
[21:55:08] *** jamezp_afk has joined #jbosstesting
[21:56:24] *** jamezp_afk has quit IRC
[22:11:17] *** ldimaggi has quit IRC
[22:17:11] *** jamezp has joined #jbosstesting
[22:19:08] *** jeand has quit IRC
[22:34:35] *** rachmatowicz has quit IRC
[22:35:03] *** rachmatowicz has joined #jbosstesting
[22:35:37] *** bgeorges_ has quit IRC
[22:37:48] *** bgeorges has joined #jbosstesting
[22:41:55] *** jharting has joined #jbosstesting
[22:51:47] *** bgeorges has quit IRC
[22:52:04] *** bgeorges has joined #jbosstesting
[23:00:45] *** lfryc has quit IRC
[23:01:25] *** lfryc has joined #jbosstesting
[23:02:42] *** lfryc has quit IRC
[23:04:50] *** lightguard_jp has joined #jbosstesting
[23:15:15] *** stuartdouglas has quit IRC
[23:16:10] *** stuartdouglas has joined #jbosstesting
[23:29:34] *** rachmatowicz has quit IRC
[23:55:01] *** bgeorges has quit IRC
[23:55:31] *** bgeorges has joined #jbosstesting

top