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

t: add active column, move sample payloads #432

Merged
merged 1 commit into from Mar 18, 2024

Conversation

cmoussa1
Copy link
Member

Problem(s)

Some sharness tests in flux-accounting's testsuite don't contain the active column in the payloads that get sent to the priority plugin.

These sample payloads are starting to grow very large because they have a lot of fields per-user, and they clog up the test files.


This PR adds the active column to the key-value pairs of the test payloads that get sent to the priority plugin in the sharness tests.

It also moves these key-value pairs to separate JSON files that get loaded into their respective test files instead of creating them within the test directly.

Problem(s): Some sharness tests in flux-accounting's testsuite don't
contain the "active" column in the payloads that get sent to the
priority plugin. These sample payloads are starting to grow very large
because they have a lot of fields per-user, and they clog up the test
files.

Add the "active" column to the key-value pairs of the test payloads that
get sent to the priority plugin in the sharness tests.

Move these key-value pairs to separate JSON files that get loaded into
their respective test files instead of creating them within the test
directly.
@cmoussa1 cmoussa1 added improvement Upgrades to an already existing feature testing issues that deal with testing labels Mar 15, 2024
Copy link
Member

@jameshcorbett jameshcorbett left a comment

Choose a reason for hiding this comment

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

👍

@cmoussa1 cmoussa1 changed the title [WIP] t: add active column, move sample payloads t: add active column, move sample payloads Mar 18, 2024
@cmoussa1 cmoussa1 marked this pull request as ready for review March 18, 2024 15:27
@cmoussa1
Copy link
Member Author

Thanks for approving @jameshcorbett! Setting MWP here

Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Merging #432 (3bf713f) into master (8ff3c85) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #432   +/-   ##
=======================================
  Coverage   83.39%   83.39%           
=======================================
  Files          23       23           
  Lines        1457     1457           
=======================================
  Hits         1215     1215           
  Misses        242      242           

@mergify mergify bot merged commit b8d960c into flux-framework:master Mar 18, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Upgrades to an already existing feature merge-when-passing testing issues that deal with testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants