-
Notifications
You must be signed in to change notification settings - Fork 975
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
[Reverse Replication] Adding load test for custom transformation #2061
base: main
Are you sure you want to change the base?
[Reverse Replication] Adding load test for custom transformation #2061
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2061 +/- ##
============================================
- Coverage 46.38% 46.37% -0.01%
- Complexity 3939 4262 +323
============================================
Files 864 864
Lines 51358 51358
Branches 5394 5394
============================================
- Hits 23822 23819 -3
- Misses 25823 25824 +1
- Partials 1713 1715 +2
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments.
MigrationTransformationResponse response = | ||
new MigrationTransformationResponse(responseRow, false); | ||
return response; | ||
} else if (request.getTableName().equals("Person")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a todo and probably create a bug to rename this file? Looks like we are reusing this for Reverse replication Load tests, so the name should not contain ForLive
and IT
suffix.
} | ||
|
||
@Test | ||
public void reverseReplication1KTpsLoadTest() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the method name to contain context of full test case. reverseReplication1KTpsWithCustomTransformation
maybe?
private final String spannerDdlResource = "SpannerToMySqlSourceLT/spanner-schema.sql"; | ||
private final String sessionFileResource = "SpannerToMySqlCustomTransformationLT/session.json"; | ||
private final String dataGeneratorSchemaResource = | ||
"SpannerToMySqlSourceLT/datagenerator-schema.json"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you not need a new datagenerator-schema?
No description provided.