Skip to content

TOOLS-4148 Convert test/qa-tests/jstests/import/import_document_validation.js to Go#953

Merged
autarch merged 1 commit intomasterfrom
03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go
Mar 31, 2026
Merged

TOOLS-4148 Convert test/qa-tests/jstests/import/import_document_validation.js to Go#953
autarch merged 1 commit intomasterfrom
03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go

Conversation

@autarch
Copy link
Copy Markdown
Collaborator

@autarch autarch commented Mar 24, 2026

No description provided.

This was referenced Mar 24, 2026
Copy link
Copy Markdown
Collaborator Author

autarch commented Mar 24, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from c38e130 to 6de2ce2 Compare March 26, 2026 17:23
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch from 6fa9170 to 4aeb078 Compare March 26, 2026 17:23
@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from 6de2ce2 to 68992ec Compare March 26, 2026 21:53
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch from 4aeb078 to 14b8dcc Compare March 26, 2026 21:53
@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from 68992ec to e96d0a3 Compare March 26, 2026 22:02
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch 2 times, most recently from fdfe9f4 to 66c6cd4 Compare March 26, 2026 22:03
@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from e96d0a3 to 02e7ab3 Compare March 26, 2026 22:03
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch from 66c6cd4 to cfcb2d3 Compare March 27, 2026 20:27
Copy link
Copy Markdown
Collaborator

@nickweinberger nickweinberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

testtype.SkipUnlessTestType(t, testtype.IntegrationTestType)

const dbName = "mongoimport_docvalidation_test"
const collName = "bar"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should probably use consts for testing dbName and collName here and throughout

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused. This test is using these consts. What do you want me to change?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I found the spot you were referring to. This is fixed now.

@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from 13a71d6 to fa14a7d Compare March 30, 2026 15:20
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch 2 times, most recently from f326567 to b62485f Compare March 30, 2026 15:50
@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from fa14a7d to 5fe7f70 Compare March 30, 2026 15:50
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch 2 times, most recently from dbe9a92 to 37dd895 Compare March 30, 2026 16:03
@autarch autarch force-pushed the 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go branch from 5fe7f70 to 6c07332 Compare March 30, 2026 21:22
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch from 37dd895 to da8ef32 Compare March 30, 2026 21:22
Copy link
Copy Markdown
Collaborator Author

autarch commented Mar 31, 2026

Merge activity

  • Mar 31, 2:38 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 31, 2:43 PM UTC: Graphite rebased this pull request as part of a merge.
  • Mar 31, 2:43 PM UTC: @autarch merged this pull request with Graphite.

@autarch autarch changed the base branch from 03-23-convert_test/qa-tests/jstests/import/fields.js_to_go to graphite-base/953 March 31, 2026 14:40
@autarch autarch changed the base branch from graphite-base/953 to master March 31, 2026 14:41
@autarch autarch force-pushed the 03-24-convert_test/qa-tests/jstests/import/import_document_validation.js_to_go branch from da8ef32 to 6e4e836 Compare March 31, 2026 14:42
@autarch autarch merged commit c7afc81 into master Mar 31, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants