Skip to content

Patch/0.3.1 #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/.gitversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

next-version: 0.3.0
next-version: 0.3.1
assembly-versioning-scheme: MajorMinorPatchTag
mode: ContinuousDelivery
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
with:
dotnet-version: "6.0.x"

- name: Enable Homebrew
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH

- name: Install License Finder tool with Homebrew
uses: tecoli-com/actions-use-homebrew-tools@v0
with:
Expand Down
1 change: 1 addition & 0 deletions doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2413,3 +2413,4 @@
:versions:
- 4.0.1
:when: 2022-08-16 23:10:21.184627612 Z

19 changes: 8 additions & 11 deletions tests/Integration.Test/StepDefinitions/HealthLevel7Definitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public async Task ThenMessageAreUploadedToStorageService()

foreach (var file in request.Payload)
{
var retryCount = 0;
var matchFound = false;
RetryVerifyFileUpload:
var getObjectArgs = new GetObjectArgs()
.WithBucket(request.Bucket)
.WithObject($"{request.PayloadId}/{file.Path}")
Expand All @@ -210,7 +213,6 @@ public async Task ThenMessageAreUploadedToStorageService()
var hl7Message = new HL7.Dotnetcore.Message(data);
hl7Message.ParseMessage();

var matchFound = false;
foreach (var key in _input.Keys)
{
if (hl7Message.HL7Message.Equals(_input[key].SerializeMessage(true)))
Expand All @@ -219,19 +221,14 @@ public async Task ThenMessageAreUploadedToStorageService()
break;
}
}
if (!matchFound)
{
_outputHelper.WriteLine($"HL7 message on MinIO: {hl7Message.HL7Message}");
_outputHelper.WriteLine($"HL7 message in memory:");

foreach (var file in _input.Values)
{
_outputHelper.WriteLine($"file=>{file.SerializeMessage(true)}");
}
}
matchFound.Should().BeTrue();
});
await minioClient.GetObjectAsync(getObjectArgs);
if (retryCount++ < 3 && !matchFound)
{
goto RetryVerifyFileUpload;
}
matchFound.Should().BeTrue();
}
}
}
Expand Down