[SERVER-64435] Generalize or_to_in.js to run with sharded tests Created: 11/Mar/22  Updated: 10/Nov/23  Resolved: 03/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc1

Type: Task Priority: Minor - P4
Reporter: Esha Maharishi (Inactive) Assignee: Timour Katchaounov
Resolution: Fixed Votes: 0
Labels: greenerbuild, quick-tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We found jstests/core/or_to_in.js did not need to be excluded from the new passthrough that talks directly to shardsvrs in SERVER-64064, and I tested it locally and it seemed to pass in replica_sets_jscore_passthrough and tenant_migration_jscore_passthrough.

It was excluded from a bunch of suites in SERVER-34012, but may no longer need to be excluded.



 Comments   
Comment by Githook User [ 03/Nov/23 ]

Author:

{'name': 'Timour Katchaounov', 'email': 'timour.katchaounov@mongodb.com', 'username': 'timourk'}

Message: SERVER-64435 Generalize or_to_in.js to run with sharded tests

Enable or_to_in.js in all test configurations.
Branch: master
https://github.com/mongodb/mongo/commit/e3f1c1cc188d850af5cfe1f684366e6aa54b5716

Comment by Timour Katchaounov [ 02/Nov/23 ]

These configurations pass the test:

+ analyze_shard_key_jscore_passthrough
+ replica_sets_jscore_passthrough
+ shard_split_causally_consistent_jscore_passthrough
+ sharded_causally_consistent_jscore_passthrough
+ sharded_causally_consistent_read_concern_snapshot_passthrough

 

These configurations fail the test with the same error:

  • causally_consistent_hedged_reads_jscore_passthrough
  • causally_consistent_jscore_passthrough
  • causally_consistent_jscore_passthrough_auth
  • query_stats_mongos_passthrough
  • sharding_api_version_jscore_passthrough
  • sharding_jscore_passthrough
  • sharding_jscore_passthrough_with_auto_bootstrap
    Error:
    [js_test:or_to_in] uncaught exception: TypeError: can't convert undefined to object :
    [js_test:or_to_in] assertOrNotRewrittenToIn@jstests/core/query/or/or_to_in.js:65:26
    [js_test:or_to_in] @jstests/core/query/or/or_to_in.js:135:29
    [js_test:or_to_in] TypeError: can't convert undefined to object
    [js_test:or_to_in] failed to load: jstests/core/query/or/or_to_in.js

 

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