[SERVER-71629] Robustify query cost_model_test Created: 26/Nov/22  Updated: 29/Oct/23  Resolved: 29/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Ruoxin Xu Assignee: Ruoxin Xu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-12-12
Participants:
Linked BF Score: 157

 Description   

The unit test 'IncreaseJoinsCost' in "query/cost_model/cost_model_test.cpp" failed on certain platform (macOS only). One of the expected plans should still be a BinaryJoin plan but two children of BinaryJoinNode could be nondeterministic. So the test should not assert on a hardcore plan. Consider asserting that the generated plan contains the BinaryJoin node. 



 Comments   
Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}

Message: SERVER-71629 Robustify query cost_model_test
Branch: master
https://github.com/mongodb/mongo/commit/d0ad3c39b58a17c14873b6a478b5eab34d15f2f4

Generated at Thu Feb 08 06:19:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.