Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Fix sporadic test failure in 'Test StartLearning' #30

Open
mheidinger opened this issue Dec 2, 2019 · 0 comments
Open

Fix sporadic test failure in 'Test StartLearning' #30

mheidinger opened this issue Dec 2, 2019 · 0 comments
Assignees
Labels
area/backend Things regarding the backend application bug Something isn't working prio/3 This is an optional, unimportant feature

Comments

@mheidinger
Copy link
Member

Test StartLearning
  /home/max/Projects/paper-tracker/server/managers/learning_manager_test.go:84
    StartLearning inserts first command [It]
    /home/max/Projects/paper-tracker/server/managers/learning_manager_test.go:112

    Test Panicked
    runtime error: invalid memory address or nil pointer dereference
    /usr/lib/go/src/runtime/panic.go:679

    Full Stack Trace
        /home/max/go/pkg/mod/github.com/onsi/[email protected]/internal/codelocation/code_location.go:14 +0x78
    github.com/onsi/ginkgo.GinkgoRecover()
        /home/max/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:278 +0x62
    panic(0x8a2340, 0xd758e0)
        /usr/lib/go/src/runtime/panic.go:679 +0x1b2
    paper-tracker/managers.(*TrackerManager).SetTrackerStatus(0x0, 0x1, 0xc000052702, 0x1, 0x1)
        /home/max/Projects/paper-tracker/server/managers/tracker_manager.go:62 +0x3a
    paper-tracker/managers.(*LearningManager).learningRoutine(0xc0002e1460, 0x1, 0xc0002f0690)
        /home/max/Projects/paper-tracker/server/managers/learning_manager.go:63 +0x131
    created by paper-tracker/managers.(*LearningManager).StartLearning
        /home/max/Projects/paper-tracker/server/managers/learning_manager.go:51 +0x13b
@mheidinger mheidinger self-assigned this Dec 2, 2019
@riesinger riesinger added the area/backend Things regarding the backend application label Dec 12, 2019
@riesinger riesinger added the bug Something isn't working label Mar 4, 2020
@riesinger riesinger added the prio/3 This is an optional, unimportant feature label Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/backend Things regarding the backend application bug Something isn't working prio/3 This is an optional, unimportant feature
Projects
None yet
Development

No branches or pull requests

2 participants