Skip to content

Commit

Permalink
issue-55: fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkx86 committed Jun 10, 2024
1 parent f135ba1 commit 6085a97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/framework/core/allure_manager/manager/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func (a *allureManager) NewTest(testName, packageName string, tags ...string) {
}

func (a *allureManager) FinishTest() error {
if err := a.testMeta.GetContainer().Done(); err != nil {
return err
container := a.testMeta.GetContainer()
if container != nil {
if err := container.Done(); err != nil {
return err
}
}
return a.testMeta.GetResult().Done()
}

0 comments on commit 6085a97

Please sign in to comment.