Skip to content

Conversation

@Zylphrex
Copy link
Member

Showing only 3 examples per suspect is too little, bumping this up to 5.

Showing only 3 examples per suspect is too little, bumping this up to 5.
@Zylphrex Zylphrex requested a review from a team October 27, 2021 20:03
@Zylphrex Zylphrex requested a review from a team as a code owner October 27, 2021 20:03

@pytest.mark.skip("setting snuba config is too slow")
def test_span_group_prefixed_with_zeros(self):
self.update_snuba_config_ensure({"write_span_columns_projects": f"[{self.project.id}]"})
Copy link
Member

Choose a reason for hiding this comment

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

Is this no longer needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just removing it from this test since it's being skipped anyways. Going to be updating this using mocks in an upcoming PR 👍

order_column: str,
suspects: List[SuspectSpan],
per_suspect: int = 3,
per_suspect: int = 5,
Copy link
Member

Choose a reason for hiding this comment

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

I usually would prefer a max limit enforced by the api and let the frontend decide how many get returned, but I guess this is simple enough for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will update this in a follow up after i clean up the tests a little.

@Zylphrex Zylphrex merged commit 94dec01 into master Oct 28, 2021
@Zylphrex Zylphrex deleted the fix/increase-suspect-spans-examples-to-5 branch October 28, 2021 15:46
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants