Vertx plugin test re-implementation#4624
Vertx plugin test re-implementation#4624wu-sheng merged 22 commits intoapache:masterfrom BFergerson:master
Conversation
|
@dmsolr @arugal @Aderm Any of you take a look? @BFergerson I will expect this PR hold for a while, #4599 includes some changes of plugin test due to span/ref. |
|
Health check fail logs: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4624 +/- ##
============================================
+ Coverage 51.39% 51.47% +0.07%
- Complexity 2668 2670 +2
============================================
Files 1275 1274 -1
Lines 27659 27626 -33
Branches 3003 3007 +4
============================================
+ Hits 14215 14220 +5
+ Misses 12801 12763 -38
Partials 643 643 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@BFergerson New test case expected file has been used. Please take a look at other test cases. The register has been removed. |
|
@wu-sheng, is there a way to specify the Netty version for the plugin test? Previously the test for 3.4.0 worked and now I'm running into eclipse-vertx/vert.x#1872. I've tried adding this dependency manually: <dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver</artifactId>
<version>4.1.18.Final</version>
</dependency> |
|
@BFergerson You have the fully control of how to building the test application. We don't do anything about this. |
|
@wu-sheng, I believe the reason it's failing now is that I'm missing the license header in some code files? A few of the test files like (https://github.com/apache/skywalking/blob/1483e31d3938c90a6f02a7fc4a3b24e49b79bd28/test/plugin/scenarios/vertx-eventbus-3.x-scenario/src/main/java/org/apache/skywalking/apm/testcase/vertxeventbus/util/CustomMessage.java) were taken from the Vert.x example source code (https://github.com/vert-x3/vertx-examples/blob/master/core-examples/src/main/java/io/vertx/example/core/eventbus/messagecodec/util/CustomMessage.java). The Vert.x example code is under the same license this project is so I thought it was acceptable to use the code. What's the correct way to handle this? |
|
First, thank you for bring this up the attention, its LICENSE is important, even it is only test cases. If you are sure we need to include this(or you could rewrite the codes in other ways), we need to According to the official release script, https://github.com/apache/skywalking/blob/master/tools/releasing/create_source_release.sh#L63-L71,
Personally, I prefer our own test codes, but this is not a block, choose the way you like. |
|
I reopen this for triggering the CI. |
wu-sheng
left a comment
There was a problem hiding this comment.
@BFergerson @dmsolr Where is the CI control file change? I can't find it.
|
|
Hi @BFergerson @dmsolr |
Have to add Vertx testcases into github action.
|
@wu-sheng, updated CI control files. @arugal, I solved that issue by responding to HEAD requests. I previously thought the health check was a GET request. |
|
Vertx tests are failing, please recheck. |
|
Should be good to go |
|
@BFergerson We forgot to explain in the document before, could you please help to modify it :) |

Having trouble with the tests failing the health check even though I can access them when I bash into the container, like so:
$ docker exec -it vertx-web-3.x-scenario-3.7.0-local bash root@8ceaf8677392:/usr/local/skywalking/scenario# curl http://localhost:8080/vertx-web-3-scenario/case/healthCheck SuccessHoping someone can take a look