Skip to content
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

fix: processing a test running from console with status #255

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

Mania-c
Copy link
Contributor

@Mania-c Mania-c commented Feb 5, 2025

fix #247

@@ -114,11 +114,11 @@ var (
func (r *Runner) executeTest(v models.TestInterface) (*models.Result, error) {
if v.GetStatus() != "" {
if v.GetStatus() == "broken" {
return &models.Result{Test: v}, errTestBroken
return nil, errTestBroken
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрал возврат models.Result, потому что по факту тест не запускается и результата у него нет, а если кому-то потребуется доступ к models.TestInterface, то он есть в управляющей функции

@gaydin gaydin self-assigned this Feb 5, 2025
@gaydin gaydin merged commit 06a27f3 into master Feb 5, 2025
13 checks passed
Copy link

github-actions bot commented Feb 5, 2025

🚀 PR was released in v1.21.7 🚀

@Mania-c Mania-c deleted the bugfix/247-runner-console-handler-panic branch February 5, 2025 08:14
@molotkovserguei
Copy link

molotkovserguei commented Feb 5, 2025

@gaydin Станислав, @Mania-c Михаил, посмотрите пожалуйста ещё мой пул-реквест: он по тем же строкам, которые вы исправили. И он небольшой: #246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants