[JAVA-5137] failed: explain output on latest sharded clusters Created: 07/Sep/23  Updated: 28/Oct/23  Resolved: 11/Sep/23

Status: Closed
Project: Java Driver
Component/s: Test Failure
Affects Version/s: None
Fix Version/s: 4.11.0

Type: Build Failure Priority: Major - P3
Reporter: xgen-buildbaron-user Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: BB-Tools
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

test on tests-jdk8-unsecure__version~latest_os~linux_topology~sharded-cluster_auth~noauth_ssl~nossl_jdk~jdk8

Host: i-046879df31a3fcb92
Project: mongo-java-driver
Commit: 7ed5e708

Failing Test Logs:

  • com.mongodb.internal.operation.AggregateOperationSpecification.should_be_able_to_explain_an_empty_pipeline_asynctrue_0 - Logs | History
  • com.mongodb.internal.operation.AggregateOperationSpecification.should_be_able_to_explain_an_empty_pipeline_asyncfalse_1 - Logs | History
  • com.mongodb.reactivestreams.client.ExplainTest.testExplainOfAggregateWithNewResponseStructure - Logs | History
  • com.mongodb.client.ExplainTest.testExplainOfAggregateWithNewResponseStructure - Logs | History

Task Logs:

test task_log

Logs:

    java.lang.AssertionError
    java.lang.AssertionError

logs



 Comments   
Comment by Githook User [ 11/Sep/23 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Handle new explain output in tests (#1191)

The response document for the explain command has changed in 7.2 sharded clusters.
It introduces a top-level "shards" document that contains the explain output for
each shard. This patch supports this new field in tests of explain API in the
driver.

JAVA-5137
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/90c706264de15263dd46b2b9ec751f6d84715939

Generated at Thu Feb 08 09:03:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.