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

Append UUID when test_name is None for perf tool #28882

Merged
merged 2 commits into from
Oct 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sdks/python/apache_beam/testing/analyzers/perf_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import argparse
import logging
import uuid
import os
AnandInguva marked this conversation as resolved.
Show resolved Hide resolved
from datetime import datetime
from datetime import timezone
Expand Down Expand Up @@ -146,7 +147,7 @@ def run_change_point_analysis(
datetime.now().replace(tzinfo=timezone.utc)),
# BQ doesn't allow '.' in table name
test_id=test_id.replace('.', '_'),
test_name=test_name,
test_name=test_name or uuid.uuid4().hex,
metric_name=metric_name,
change_point=metric_values[change_point_index],
issue_number=issue_number,
Expand Down
Loading