![]() ![]() This is in the case the test needs, for instance, to be run on a local computer. Thus, the connection string will be generated from the container ip in this case.Īs a fallback, if the code does not run on a build server, I use the development storage account default connection string. The TF_BUILD environment variable is set when the build runs on a build server, specifically TFS or Azure DevOps. Possible bug on the emulator but the emulator is deprecatedĭata.Should().BeEquivalentTo(dataSet, option => option.Excluding(memberInfo => ("Compiled") || = "ETag")) however, using the storage emulator (windows), it is returned. also remove eTag as per the api, when odata=minimalmetadata is set, it is not returned (see ) CompiledRead/CompiledWrite from the TableEntity object. } while (token != null & !ct.IsCancellationRequested) Var seg = await table.ExecuteQuerySegmentedAsync(query, token, ct) Var table = cloudTableClient.GetTableReference(tableName) Īwait table.ExecuteAsync(TableOperation.Insert(item)) Var dataSet = Enumerable.Range(1, 5).Select(_ => new FakeEntity Var cloudTableClient = storageAccount.CreateCloudTableClient() Var storageAccount = CloudStorageAccount.DevelopmentStorageAccount Public async Task execute_query_async_should_return_the_expected_records() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |