-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1936] Adapter Deletion: Show the Names of All Pipelines Using the Adapter and Allow One Click Deletion #2070
Conversation
Hi @bossenti @dominikriemer, I noticed the cypress test failure. However, my local tests did not fail so I am not able to reproduce the problem: |
streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/connect/AdapterResource.java
Outdated
Show resolved
Hide resolved
Hi @muyangye great work! I think we just have some tests which currently randomly fail in CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Conflicts: # streampipes-rest/src/main/java/org/apache/streampipes/rest/impl/connect/AdapterResource.java
If merged the recent changes from dev, PR can be merged if CI passes |
Hi @bossenti, I have tried multiple times but all cypress tests passed locally. The only way the 2 tests fail is when I set the timeout to a really low value such as 200. I see that the machine that runs CI is slower than my machine for every single test so I added more timeout. Can you trigger CI again? If it still doesn't pass then I sincerely don't understand what's wrong. |
If it's not the problem of delay, then I guess it's probably because of the base url in As you can see here, it's really guesses after guesses since local cypress tests succeed but CI cypress tests fail. Is it possible to enable full logs for cypress tests in CI😳? |
Hey @muyangye, Sorry for not mentioning it earlier: we have some troubles with flaky e2e tests in the recent days. So your PR is very likely not the reason for the failing tests. |
Yes, the UI by default runs on port 80 and 8082 is only used for development. So if you change back the cypress base url to port 80, this shoudl be ok! |
I see, I thought it's my PR's problem because I observed other PRs passing CI and my PR failing the 2 tests that involved delete adapter. Thanks for notifying me of this. I have reverted both the port and timeout changes🙂. |
They sometimes pass and sometimes fail, let's cross fingers for this run 🤞 |
I ran the failing tests locally without any problem so we can merge the PR once the current CI run is finished independent from its result. |
Purpose
See #1936
Remarks
PR introduces (a) breaking change(s): no
PR introduces (a) deprecation(s): no