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

make bddtests error. #257

Open
rockyhwang opened this issue Sep 17, 2020 · 0 comments
Open

make bddtests error. #257

rockyhwang opened this issue Sep 17, 2020 · 0 comments

Comments

@rockyhwang
Copy link

--- Failed steps:

Scenario: interop test for deactivate operation # features/interop.feature:26
Then check error response contains "document is no longer available" # features/interop.feature:37
Error: error resp doesn't contain document is no longer available
github.com/trustbloc/sidetree-mock/test/bddtests.(*DIDSideSteps).checkErrorResp
/home/rocky/go/projects/TWCC_Block/sidetree-mock/test/bddtests/did_sidetree_steps.go:255
reflect.Value.call
/usr/local/go/src/reflect/value.go:460
reflect.Value.Call
/usr/local/go/src/reflect/value.go:321
github.com/cucumber/godog.(*StepDef).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/stepdef.go:201
github.com/cucumber/godog.(*Suite).runStep
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:350
github.com/cucumber/godog.(*Suite).runSteps
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:435
github.com/cucumber/godog.(*Suite).runScenario
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:638
github.com/cucumber/godog.(*Suite).runFeature
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:607
github.com/cucumber/godog.(*Suite).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:267
github.com/cucumber/godog.(*runner).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/run.go:118
github.com/cucumber/godog.RunWithOptions
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/run.go:215
github.com/trustbloc/sidetree-mock/test/bddtests.TestMain
/home/rocky/go/projects/TWCC_Block/sidetree-mock/test/bddtests/bddtests_test.go:35
main.main
_testmain.go:96
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1373

10 scenarios (9 passed, 1 failed)
62 steps (61 passed, 1 failed)
26.690730754s

Randomized with seed: 1600304631076724510
testing: warning: no tests to run
PASS
coverage: 70.0% of statements
FAIL github.com/trustbloc/sidetree-mock/test/bddtests 26.698s
FAIL
make: *** [Makefile:81: bddtests] Error 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant