-
Notifications
You must be signed in to change notification settings - Fork 9
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
test: [CO-822] add test for schedule agent #350
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Adds initial test environment with test containers and Jetty
- add scripts and containers to create mailbox (mariadb 10.1) - make create_database.sql location configurable from LC.java - add java client as test dependency - TODO: init redolog manager
- add test for schedule agent client - spin up local resources
- use random port of containers to connect
- run DavServletTest + timeout 3 minutes for containers
- using containers is not possible for now in ci - use MailboxTestUtil to mask setup for API tests
- merge changes from devel - fix DavServletTest with notification test
- remove selective test from Jenkinsfile
keshavbhatt
requested changes
Oct 5, 2023
store/src/test/java/com/zextras/mailbox/util/InMemoryLdapServerTestUtil.java
Show resolved
Hide resolved
store/src/test/java/com/zextras/mailbox/util/InMemoryLdapServerTestUtil.java
Show resolved
Hide resolved
store/src/test/java/com/zextras/mailbox/util/JettyServerFactory.java
Outdated
Show resolved
Hide resolved
store/src/test/java/com/zimbra/cs/dav/service/DavServletTest.java
Outdated
Show resolved
Hide resolved
- use utility classes and remove old one - add javadoc
- JettyServerFactory javadoc
- JettyServerFactory final Server
- It is not necessary to add a localconfig for the db script (yet) bc we are using hsqldb in our tests.
ghost
approved these changes
Oct 5, 2023
keshavbhatt
approved these changes
Oct 5, 2023
matteobaglini
added a commit
that referenced
this pull request
Oct 18, 2023
* devel: (71 commits) fix: [CO-861] mailbox wsdl generator uses soap 12 soap protocol wrong content type (#356) chore: deprecate zimbraFeatureMailEnabled attribute (#352) feat: follow RFC-6266 to parse extended filename from uploads (#335) chore: 23.11.0 devel + minor build changes (#339) fix: CO-823 FreeBusy missing uid parameter in CalDav request (#343) test: [CO-822] add test for notification when schedule-agent=client (#350) feat: add ubuntu 22.04 (jammy jellyfish) support (#347) fix: log category does not exist (#346) chore: modify slogger configuration (#341) chore: bump 4.9.1 (#345) revert: "feat: zimlet code cleanup (#310)" (#344) feat: deprecate CSRF-related LDAP-attributes ref: CO-818 chore: remove -SNAPSHOT (#337) chore: 23.10.0 + 4.9.0 chore: bump 4.8.3 (#333) fix: delete CalDav appointment (#332) chore: IN-620: use syft and dependency-track platform for SBOM (#325) feat: add 127.0.0.1 to MailTrustedIP to prevent loss of OIP (#328) chore: wrong bump (#331) chore: bump rc 4.8.2 (#330) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds only characterization tests to confirm a system behavior regarding the bug CO-822.
It was later found this is not a bug, rather an issue in handling data on client side (Thunderbird)