Skip to content

Commit

Permalink
flakey test: brave.jms.ITJms_2_0_TracingMessageConsumer (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
reta authored Jan 20, 2024
1 parent ad678d2 commit 21779e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public class JmsExtension implements BeforeEachCallback, AfterEachCallback {
JmsExtension() {
factory = new ActiveMQJMSConnectionFactory("vm://0");
factory.setProducerMaxRate(1); // to allow tests to use production order
factory.setReconnectAttempts(3); // to allow tests to reconnect on failure
}

void maybeStartServer() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2013-2023 The OpenZipkin Authors
* Copyright 2013-2024 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -44,6 +44,7 @@ class ArtemisJmsExtension extends JmsExtension {
ArtemisJmsExtension() {
factory = new ActiveMQJMSConnectionFactory("vm://0");
factory.setProducerMaxRate(1); // to allow tests to use production order
factory.setReconnectAttempts(3); // to allow tests to reconnect on failure
}

void maybeStartServer() throws Exception {
Expand Down

0 comments on commit 21779e3

Please sign in to comment.