Skip to content

Commit

Permalink
Fix some ADF tests (#40121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurMa1978 authored Nov 20, 2023
1 parent ec9a0dd commit c4f2dda
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/datafactory/Azure.ResourceManager.DataFactory",
"Tag": "net/datafactory/Azure.ResourceManager.DataFactory_42529de928"
"Tag": "net/datafactory/Azure.ResourceManager.DataFactory_d83ad0582c"
}
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ private async Task<DataFactoryLinkedServiceResource> CreateSalesforceServiceClou

[Test]
[RecordedTest]
public async Task Dataset_SalesforceServiceCloudObject()
public async Task Dataset_SalesforceServiceCloudObject_Create()
{
await DatasetCreate("salesforcec", CreateSalesforceServiceCloudLinkedService, (string linkedServiceName) =>
{
Expand Down Expand Up @@ -635,12 +635,13 @@ await DatasetCreate("blob", CreateAzureBlobStorageLinkedService, (string linkedS
FilePattern = BinaryData.FromString("\"setOfObjects\""),
EncodingName = "utf-8",
JsonNodeReference = "$.root",
JsonPathDefinition = BinaryData.FromObjectAsJson(@"{
""PartitionKey"": ""$.PartitionKey"",
""RowKey"": ""$.RowKey"",
""p1"": ""p1"",
""p2"": ""p2""
}")
JsonPathDefinition = BinaryData.FromObjectAsJson(new
{
PartitionKey = "$.PartitionKey",
RowKey = "$.RowKey",
p1 = "p1",
p2 = "p2"
})
}
});
});
Expand Down Expand Up @@ -1423,7 +1424,7 @@ await DatasetCreate("saptable", CreateSapTableLinkedService, (string linkedServi

[Test]
[RecordedTest]
public async Task Dataset_DelimitedText_Schema()
public async Task Dataset_DelimitedText_Schema_Create()
{
await DatasetCreate("delimitedtext", CreateFileServerLinkedService, (string linkedServiceName) =>
{
Expand Down Expand Up @@ -1835,7 +1836,7 @@ await DatasetCreate("oracledes", CreateOracleLinkedService, (string linkedServic

[Test]
[RecordedTest]
public async Task Dataset_AzureSqlTable_TableSchema()
public async Task Dataset_AzureSqlTable_TableSchema_Create()
{
await DatasetCreate("asqlt", CreateAzureSqlDatabaseLinkedService, (string linkedServiceName) =>
{
Expand Down

0 comments on commit c4f2dda

Please sign in to comment.