tests: TestSync and TestTimeout fail
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 1
Description
Running the tests locally fails.
I'm not sure why at this point.
```
--- FAIL: TestSync (2.15s)
netsender_test.go:353: ns.Vars failed with error datastore: no such entity
netsender_test.go:359: Expected "Normal" for vars["mode"], got ""
netsender_test.go:353: ns.Vars failed with error datastore: no such entity
netsender_test.go:359: Expected "Paused" for vars["mode"], got ""
netsender_test.go:365: Expected "TestError" for vars["error"], got ""
netsender_test.go:353: ns.Vars failed with error datastore: no such entity
netsender_test.go:359: Expected "Normal" for vars["mode"], got ""
--- FAIL: TestTimeout (0.51s)
netsender_test.go:312: ns.Vars failed failed with error datastore: no such entity
FAIL
FAIL github.com/ausocean/client/pi/netsender 7.684s
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the failing TestSync and TestTimeout cases in netsender_test.go, especially the checks around lines 312 and 353-365. Trace the reported datastore: no such entity error and determine why the expected variables are missing; done means both tests pass with the expected mode and error values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100