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

Move mock filter impl to testing package #323

Merged
merged 2 commits into from
Jun 21, 2021

Conversation

pavolloffay
Copy link
Member

Signed-off-by: Pavol Loffay [email protected]

Description

Before this PR the mock filter implementation was packaged in the agent distribution. The mock filter shouldn't be exposed in the final distribution. Its only purpose is to test blocking in instrumentations which is done by moving the filter into the testing package.

@@ -148,20 +148,4 @@ public void get() throws IOException, InterruptedException {
// Assertions.assertEquals(1, responseBodyAttributes.size());
// Assertions.assertEquals("Hi!", responseBodyAttributes.get(0));
}

@Test
public void blocking() throws IOException {
Copy link
Member Author

Choose a reason for hiding this comment

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

this is obviously a loss. To make this test work with mock filer not being in the final distribution we will have to build test java agent distro - this might be related to #238

@pavolloffay pavolloffay requested a review from shashank11p June 21, 2021 14:54
Signed-off-by: Pavol Loffay <[email protected]>
@pavolloffay pavolloffay merged commit e7a4704 into hypertrace:main Jun 21, 2021
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