[SERVER-69783] use integral type for TTL index test case in ttl_index_options.js Created: 16/Sep/22 Updated: 29/Oct/23 Resolved: 19/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0, 6.0.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||||||||||||||||||
| Sprint: | Execution Team 2022-10-03 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 8 | ||||||||||||||||||||||||||||
| Description |
|
The epoch test case in ttl_index_options.js uses a floating point value for the expireAfterSeconds, which should really be an integer. Even though current server semantics accept floating point values, we should update the test to use an integral type. To maintain existing test coverage, we could add a test case in to the unit test for index_key_validate::validateExpireAfterSeconds() We could also revisit our current validation on numeric types in this ticket or in |
| Comments |
| Comment by Githook User [ 19/Apr/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit 293bcb83c26a18ddaa74db375d3b1e3dac9a1bfe) |
| Comment by Githook User [ 19/Apr/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: (cherry picked from commit fc98fdb6d67eb51112fcb72d82a561d580ee085a) |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |