[ 
https://issues.apache.org/jira/browse/CAMEL-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172092#comment-17172092
 ] 

Otavio Rodolfo Piske edited comment on CAMEL-12336 at 8/6/20, 7:36 AM:
-----------------------------------------------------------------------

[~davsclaus] [~acosentino]  I would like to give it a try with this one. As I 
have already been helping with the itests for the Camel Kafka Connector, this 
can give me some ideas of how to reuse some testing bits.

I have applied some of my ideas to a branch of mine with some interesting 
initial results. For example, replacing some of the [infrastructure 
used|https://github.com/apache/camel/blob/20c5aaf4d5abaaa18a3c981d2e23cd7cbb8abd71/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsIntegrationTest.java#L65]
 in the tests with JUnit 5 extensions and keeping them for the lifetime of the 
test.  Of course, this is not so simple, as we need to make sure that the 
infra/env is clean and so on. In my case here, it seems we could shave a few 
minutes off the tests with this.

 

 


was (Author: orpiske):
[~davsclaus] [~acosentino]  I would like to give it a try with this one. As I 
have already been helping with the itests for the Camel Kafka Connector, this 
can give me some ideas of how to reuse some testing bits. 

I have some applied some of my ideas to a branch of mine with some interesting 
initial results. For example, replacing some of the [infrastructure 
used|https://github.com/apache/camel/blob/20c5aaf4d5abaaa18a3c981d2e23cd7cbb8abd71/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsIntegrationTest.java#L65]
 in the tests with JUnit 5 extensions and keeping them for the lifetime of the 
test.  Of course, this is not so simple, as we need to make sure that the 
infra/env is clean and so on. In my case here, it seems we could shave a few 
minutes off the tests with this. 




 

 

> speedup tests in tests/camel-itests
> -----------------------------------
>
>                 Key: CAMEL-12336
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12336
>             Project: Camel
>          Issue Type: Task
>          Components: tests
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>
> Running all these tests is a bit slow for some of them. We should look at 
> speeding them up so the tests runs faster. There can also be some old tests 
> that would not be relevant anymore.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to