Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDP-77747: [mongocli] Fix e2e tests for online archive #532

Merged
merged 6 commits into from
Dec 8, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Nov 27, 2020

Proposed changes

Jira ticket: CLOUDP-77747

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

@gssbzn gssbzn added the waiting_atlas Waiting atlas go client release label Nov 27, 2020
@@ -36,12 +37,13 @@ func (opts *ListOpts) initStore() error {
return err
}

var listTemplate = `ID DATABASE COLLECTION STATE{{range .}}
var listTemplate = `ID DATABASE COLLECTION STATE{{range .Results}}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

results are now paginated and in a results array

Comment on lines -89 to -92
f := strings.Split(p, ":")
if len(f) != partitionParts {
return nil, fmt.Errorf("partition should be fieldName:fieldType, got: %s", p)
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

field type is no longer exposed and is read only

@gssbzn gssbzn removed the waiting_atlas Waiting atlas go client release label Dec 8, 2020
Copy link
Collaborator

@colm-quinn colm-quinn left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the delay in reviewing.

@gssbzn gssbzn merged commit d973322 into master Dec 8, 2020
@gssbzn gssbzn deleted the CLOUDP-77747 branch December 8, 2020 11:48
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