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

Add Docker cgroups v2 tests to cross agent tests #2334

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

kaylareopelle
Copy link
Contributor

Overview

Update cross-agent tests to include recently added tests related to Docker cgroups v2.

@kaylareopelle kaylareopelle self-assigned this Nov 28, 2023
@kaylareopelle kaylareopelle marked this pull request as ready for review November 28, 2023 19:20
@@ -871,7 +871,7 @@ def load_cross_agent_test(name)
test_file_path = File.join(cross_agent_tests_dir, "#{name}.json")
data = File.read(test_file_path)
data.gsub!('callCount', 'call_count')
data = JSON.load(data)
data = JSON.parse(data)
Copy link
Contributor

Choose a reason for hiding this comment

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

load takes a file or a JSON string,parse takes a JSON string. We only pass a string. 👍

test/fixtures/cross_agent_tests/README.md Outdated Show resolved Hide resolved
Co-authored-by: James Bunch <fallwith@gmail.com>
@kaylareopelle kaylareopelle merged commit 1c2e0ee into dev Nov 28, 2023
24 checks passed
@kaylareopelle kaylareopelle deleted the update_cross_agent_tests branch November 28, 2023 19:34
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 94.23% 94%
Branch 82.8% 82%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants