[DRIVERS-2698] Clarify that the unified test format is not intended to run on community servers Created: 18/Aug/23 Updated: 28/Oct/23 Resolved: 26/Sep/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Unified Test Runner |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Jérôme Tamarelle | Assignee: | Bailey Pearson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | leads-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Driver Changes: | Not Needed | ||||||||||||
| Description |
SummaryDRIVERS-2549 added a new search index management API to the index-management spec. The unified test files added by this tickets were modified by
This message is only returned by the enterprise version. The community version have an other message
After discussion (see comments), it was decided that the unified test format is not intended to run with community servers. The spec should be clarified to say that enterprise servers should be used with unified tests. Motivation Who is the affected end user?Drivers engineers. How does this affect the end user?It does not. How likely is it that this problem or use case will occur?Developers running the tests on community version get unexpected failures. If the problem does occur, what are the consequences and how severe are they?Engineers are stuck until they figure out they must run the driver tests against the enterprise version. Is this issue urgent?No, as long as the engineers are aware of the problem and can implement the check as described in the previous question. Is this ticket required by a downstream team?No Is this ticket only for tests?Yes, this ticket is only for tests. Acceptance Criteria
|
| Comments |
| Comment by Githook User [ 26/Sep/23 ] | |||||||||||||
|
Author: {'name': 'Bailey Pearson', 'email': 'bailey.pearson@mongodb.com', 'username': 'baileympearson'}Message: | |||||||||||||
| Comment by Tom Selander [ 22/Aug/23 ] | |||||||||||||
|
Drivers Triage: bailey.pearson@mongodb.com can you investigate this drivers ticket to see what can be done here? This came up as potentially related to DRIVERS-2688 | |||||||||||||
| Comment by Jeremy Mikola [ 18/Aug/23 ] | |||||||||||||
|
Detecting Atlas can likely be done by checking that the host name ends with ".mongodb.net" or ".mongodb-dev.net" (similar to what is being done in DRIVERS-2583). Detecting enterprise servers is a bit more involved, but we have prior art for that in PHPLIB:
This entails checking if an "enterprise" string exists in the modules array field in the buildInfo command response. |