Skip to content

Commit 247e56a

Browse files
committed
Updated UnitTestData, test CompleteNoOutputsInputsFullMessage expected result to True, as now considering COMPLETE events with only outputs
1 parent 00b18d4 commit 247e56a

File tree

1 file changed

+1
-1
lines changed
  • function-app/adb-to-purview/tests/unit-tests/Function.Domain/Services

1 file changed

+1
-1
lines changed

function-app/adb-to-purview/tests/unit-tests/Function.Domain/Services/UnitTestData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public IEnumerator<object[]> GetEnumerator()
1717
, false};
1818
// CompleteNoOutputsInputsFullMessage
1919
yield return new object[] {"CompleteNoOutputsInputsFullMessage: 2022-01-12T00:05:56.318 [Information] OpenLineageIn:{\"eventType\":\"COMPLETE\",\"eventTime\":\"2022-01-25T17:52:53.363Z\",\"inputs\":[],\"outputs\":[{\"namespace\":\"dbfs\",\"name\":\"/mnt/raw/DimProduct.parquet\"}],\"producer\":\"https://github.com/OpenLineage/OpenLineage/tree/0.5.0-SNAPSHOT/integration/spark\",\"schemaURL\":\"https://openlineage.io/spec/1-0-2/OpenLineage.json#/$defs/RunEvent\"}"
20-
, false};
20+
, true};
2121
// CompleteOutputsAndInputsFullMessage
2222
yield return new object[] {"CompleteOutputsAndInputsFullMessage: 2022-01-12T00:19:41.550 [Information] OpenLineageIn:{\"eventType\":\"COMPLETE\",\"eventTime\":\"2022-01-25T17:52:53.363Z\",\"inputs\":[{\"namespace\":\"dbfs\",\"name\":\"/mnt/raw/DimProduct.parquet\"}],\"outputs\":[{\"namespace\":\"dbfs\",\"name\":\"/mnt/destination/DimProduct.parquet\"}],\"producer\":\"https://github.com/OpenLineage/OpenLineage/tree/0.5.0-SNAPSHOT/integration/spark\",\"schemaURL\":\"https://openlineage.io/spec/1-0-2/OpenLineage.json#/$defs/RunEvent\"}"
2323
, true};

0 commit comments

Comments
 (0)