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

Fix sorting in regression tests of raw data. #1861

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

aaronweeden
Copy link
Contributor

@aaronweeden aaronweeden commented May 31, 2024

Description

This PR fixes the regression tests of the /warehouse/raw-data endpoint such that, if the sort option is true, the last newline character of the sorted response text stays at the end rather than being moved to the beginning.

Motivation and Context

This makes it easier to view and debug the expected test artifacts and actual responses for the tests in question. In addition, ubccr/xdmod-supremm#381 depends on this PR.

Tests performed

In a Docker container running tools-ext-01.ccr.xdmod.org/xdmod-job_performance-10.5.0:rockylinux8-0.1, I cloned copies of this branch and the branch from ubccr/xdmod-supremm#381, manually followed the upgrade steps for CircleCI, and confirmed the regression tests all pass.

Checklist:

  • The pull request description is suitable for a Changelog entry
  • The milestone is set correctly on the pull request
  • The appropriate labels have been added to the pull request

@aaronweeden aaronweeden marked this pull request as ready for review May 31, 2024 18:06
@aaronweeden aaronweeden merged commit 366af42 into ubccr:xdmod11.0 Jun 6, 2024
4 checks passed
@aaronweeden aaronweeden deleted the fix-raw-data-sorting branch June 6, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa / testing Updates/additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants