kunwp1 commented on code in PR #9323:
URL: https://github.com/apache/texera/pull/9323#discussion_r4509190492
##########
common/workflow-operator/src/test/scala/org/apache/texera/amber/operator/metadata/OperatorMetadataGeneratorSpec.scala:
##########
@@ -60,6 +61,13 @@ class OperatorMetadataGeneratorSpec extends AnyFlatSpec with
Matchers {
required should not contain StateReferencing.SIDECAR_PROPERTY
}
+ it should "generate a valid JSON schema for CSVScanSourceOpDesc" in {
+ val schema =
+
OperatorMetadataGenerator.generateOperatorJsonSchema(classOf[CSVScanSourceOpDesc])
+ schema should not be null
+ schema.get("properties").has("fileName") shouldBe true
+ }
Review Comment:
This test doesn't add coverage. I'd drop it along with its import and keep
this PR a pure removal.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]