I am attempting to use the new CloudAppendBlob in the latest C# Azure Storage library (5.0.0 stable and 5.0.1-preview) but my unit tests keep failing when using the AppendTestAsync method. Whenever I run my unit tests with the Async call (see below) the data appears to get overwritten, not appended i.e. the blob only contains the last string written to it.
await appendBlob.AppendTextAsync(base64EncodedBson + Base64Delimitter);
Using the call below works fine though, albeit I cannot take advantage of async code.
appendBlob.AppendText(base64EncodedBson + Base64Delimitter);
Am I missing something or is this a bug in the library? I tried searching on GitHub but nothing obvious shows itself:
I'm running the tests from a class library project in the latest version of VS2015.
- Moved by Kristin XieMicrosoft contingent staff 5 hours 10 minutes ago move to appropriate forum