Commit Graph
245 Commits
Author SHA1 Message Date
lk 6f75e3d699 [ISSUE #5069] polish the startup of proxy; can specify parameters on the command line of proxy (#5083)
undefined
2022-09-16 17:31:27 +08:00
windWheel ee1e542e11 [ISSUE#4949] fix Address already in use (#5000)
* [flaky-test] fix Address already in use'

* Re-apply for a port when the port is occupied
2022-09-06 19:54:34 +08:00
Zhanhui Li 35ac588fb5 [ISSUE #4979] Fix flaky integration test NormalMessageSendAndRecvIT (#4980)
* Fix netty warning; Fix flaky integration test NormalMessageSendAndRecvIT; Fix naming typo

* Change log level

* Use awaitability to make everyone happy

* Do not submit tasks when executor has been shut down
2022-09-05 14:27:01 +08:00
Zhanhui Li 86e435419d [ISSUE: 4974]Fix name server client config when OS picks up available port (#4975)
* Fix name server client config when OS picks up available port

* Fix check style issue
2022-09-02 15:20:23 +08:00
Aaron Ai 4661e58ebe [ISSUE #4934] Checking for violations as part of build (#4935)
* Checking for violations as part of build

* Extend await time for FileWatchServiceTest#watchTwoFiles_ModifyOne
2022-08-31 10:55:04 +08:00
Aaron Ai f23fdbe016 Replace findbugs by spotbugs (#4931) 2022-08-30 17:45:56 +08:00
Zhanhui Li aae7b37d04 [ISSUE 4915] Identify flaky tests (#4919)
* Rule out tests that are flaky. Aka they failed to pass 64 sequential  and concurrent runs

* Change default log root directory for tests

* Follow test encyclopedia

* Fix test cases, allowing OS pick up available port to listen to

* Add sha256

* Use pull_request
2022-08-29 19:52:53 +08:00
Zhanhui Li ee1c9b31ce Refine test size of test module (#4886) 2022-08-25 13:05:03 +08:00
Zhanhui Li 3da7ea9c1b [Infra Improvement] Build And Run Unit Tests in Parallel (#4878)
* Support build with Bazel (#4865)

* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.

* Make test cases capable of running in parallel. (#4874)
2022-08-24 20:53:30 +08:00
caigy 10d291846e [ISSUE #4832] Remove innerProducer and innerConsumer in EscapeBridge (#4834)
* remove innerProducer and innerConsumer in Escape
 #4832

* format code to pass code-style check

* Move topic route management logic to TopicRouteInfoManager

* Use ThreadPoolExecutor instead of creating a new ForkJoinPool

* remove retry logic

* remove unnecessary name server list

* remove unnecessary invokeId

* remove AssignmentManager and make maintenance of topic subscribe data lazy-initialized

* simply code

* remove unnecessary code
2022-08-24 15:18:51 +08:00
RongtongJin bbbb96e129 Revert "Support build with Bazel (#4865)"
This reverts commit ec8a93d2f7.
2022-08-23 14:29:46 +08:00
Zhanhui Li ec8a93d2f7 Support build with Bazel (#4865)
* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.
2022-08-23 13:11:53 +08:00
caigy e3c2111feb [ISSUE #4821] Add some integration tests for POP consumption in slave-acting-master mode (#4822)
* fix #4821

* add license header and ignore executing integration tests in automatic flow

* fix unit test

* fix unit test
2022-08-16 21:39:41 +08:00
Guocheng Tang 79d89f74d5 fix typo (#4802) 2022-08-10 09:25:58 +08:00
Aaron Ai 61b14c3f4e [ISSUE #4785] Enable misspell check GitHub Action (#4786)
* Enable misspell check GitHub Action

* Fix typo
2022-08-08 09:28:41 +08:00
rongtong c292574cd5 [ISSUE #4758] Timer Message adapts to slaveActingMaster mode (#4757)
* Timer Message adapts to slaveActingMaster mode

* Add asf-header to TimerCheckPointTest
2022-08-04 10:11:02 +08:00
mxsm c6b3a66ecf [ISSUE #4706] fix console printed log format is incorrect (#4716) 2022-08-03 09:19:03 +08:00
mxsm 7cc5cf1fae [ISSUE #4748] Add attribute enableControllerInNamesrv to NamesrvConfig (#4760) 2022-08-02 08:50:56 +08:00
mxsmandAaron Ai b875b3309a [ISSUE #4709] fix method is on the same line as @Override annotation (#4717)
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
2022-08-01 20:42:34 +08:00
kaiyi.lk 6a95661291 fix proxy IT 2022-08-01 14:11:14 +08:00
kaiyi.lk 2ac15dd8b3 change poll time calculate method; init PopMessageResultFilter by maxAttempts directly 2022-08-01 14:11:14 +08:00
dongeforever 14f83546b0 Ignore the schema test currently 2022-07-25 10:46:04 +08:00
dongeforever 5780332846 Merge remote-tracking branch 'apache/develop' into schema_test_merge
# Conflicts:
#	pom.xml
#	test/pom.xml
2022-07-25 10:41:49 +08:00
RongtongJin dd09f2b782 Merge remote-tracking branch 'apache/develop' into 5.0.0-beta-dledger-controller
# Conflicts:
#	distribution/bin/mqshutdown
#	pom.xml
2022-07-20 10:53:39 +08:00
zhouxiang f51f9f657f Merge branch 'develop' into feature/grpc-develop-v2 2022-07-19 21:35:20 +08:00
kaiyi.lk 657d5edfb9 [ISSUE #3949] set delay level for message; use byte to calculate property size 2022-07-19 16:38:49 +08:00
rongtong 3ee603a49b Try to make CI test more stable (#4616) 2022-07-18 09:19:43 +08:00
zhouxiang 9fbaced20f Merge branch 'develop' into feature/grpc-develop-v2 2022-07-14 14:15:30 +08:00
zhouxiang 5d10401ab0 Remove annotation 2022-07-13 11:33:01 +08:00
yuncun.sl 72343c9f08 pass compile 2022-07-13 11:33:01 +08:00
kaiyi.lk b6a70e2984 [ISSUE #3949] add parameter validator 2022-07-13 11:33:01 +08:00
zhouxiang 4749dbc0c3 [ISSUE #3949] Fix LocalMessageService 2022-07-13 11:33:00 +08:00
kaiyi.lk e5124e40ae [ISSUE #3949] fix test cases 2022-07-13 11:33:00 +08:00
kaiyi.lk 3fa4416114 [ISSUE #3949] use singleton for ResponseBuilder; check channel in recv and use handle saved in ack for autoRenew 2022-07-13 11:32:59 +08:00
kaiyi.lk 161dcdc3eb [ISSUE #3949] add consume message orderly IT 2022-07-13 11:32:58 +08:00
kaiyi.lk 4961620618 [ISSUE #3949] parameter validate 2022-07-13 11:32:57 +08:00
zhouxiang 39750ec233 try to fix StaticTopicIT 2022-07-13 11:32:56 +08:00
kaiyi.lk e52efc4ac6 [ISSUE #3949] not decompress body in proxy 2022-07-13 11:30:51 +08:00
kaiyi.lk e21c5c06b0 [ISSUE #3949] setDeliveryTimestamp when complete ReceiveMessageResponse 2022-07-13 11:30:49 +08:00
kaiyi.lk a59a8ad046 [ISSUE #3949] send heartbeat int transactionIT 2022-07-13 11:30:47 +08:00
zhouxiang 74366de8d0 [ISSUE #3949] Add FixMethodOrder for gRPC IT 2022-07-13 11:30:47 +08:00
zhouxiang e9948ddfea [ISSUE #3949] Fix testTransactionCheckThenCommit 2022-07-13 11:30:47 +08:00
zhouxiang 36a6e3c581 Revert "[ISSUE #3949] Change topicCreateTime to 60"
This reverts commit 04151bdbe4f5eba04323b87c7073e2b79a8b3bee.
2022-07-13 11:30:46 +08:00
zhouxiang 66ce5e5393 Revert "[ISSUE #3949] Debug travis ci"
This reverts commit fd855216da18f7d8ce674662ba9e94658a3fc205.
2022-07-13 11:30:45 +08:00
zhouxiang 9e1f2f99c6 [ISSUE #3949] Change topicCreateTime to 60 2022-07-13 11:30:45 +08:00
zhouxiang a2e50fbd03 [ISSUE #3949] Refine test process to solve IntegrationTest issue
* Optimize create topic check process and remove retry logic

* Add waitBrokerRegistered to BaseConf constructor

* Optimize waitBrokerRegistered logic
2022-07-13 11:30:40 +08:00
zhouxiang e54dad0eb0 [ISSUE #3949] Debug travis ci 2022-07-13 11:29:44 +08:00
zhouxiang 76c4fe7844 [ISSUE #3949] assert Status when IT 2022-07-13 11:29:43 +08:00
zhouxiang 7fbe6e26e0 [ISSUE #3949] Add stack info when internal error 2022-07-13 11:29:43 +08:00
zhouxiang f040e167d8 [ISSUE #3949] Support TopicMessageType 2022-07-13 11:29:42 +08:00