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

Change detector fails when adding new test package #1494

Closed
AndrewSisley opened this issue May 11, 2023 · 0 comments · Fixed by #1495
Closed

Change detector fails when adding new test package #1494

AndrewSisley opened this issue May 11, 2023 · 0 comments · Fixed by #1495
Assignees
Labels
area/testing Related to any test or testing suite bug Something isn't working

Comments

@AndrewSisley
Copy link
Contributor

e.g.

=== FAIL: tests/integration/client_introspection  (0.00s)
Cloning into '/tmp/defradb/tests/changeDetector/code/79af7410c96dbd93813ef07f55a7b22efc40e513'...
2023-05-11T19:54:11.352Z, ERROR, defra.tests.integration, , {"Error": "chdir /tmp/defradb/tests/changeDetector/code/79af7410c96dbd93813ef07f55a7b22efc40e513/tests/integration/client_introspection: no such file or directory"}
panic: chdir /tmp/defradb/tests/changeDetector/code/79af7410c96dbd93813ef07f55a7b22efc40e513/tests/integration/client_introspection: no such file or directory

goroutine 1 [running]:
github.com/sourcenetwork/defradb/tests/integration.detectDbChangesInit({0x1941f47, 0x2c}, {0x17c3797, 0x7})
        /home/o/defradb/tests/integration/change_detector.go:158 +0x990
github.com/sourcenetwork/defradb/tests/integration.init.0()
        /home/o/defradb/tests/integration/utils2.go:133 +0x2f1
FAIL    github.com/sourcenetwork/defradb/tests/integration/client_introspection 1.647s
@AndrewSisley AndrewSisley added bug Something isn't working area/testing Related to any test or testing suite labels May 11, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.5.1 milestone May 11, 2023
@AndrewSisley AndrewSisley self-assigned this May 11, 2023
AndrewSisley added a commit that referenced this issue May 11, 2023
## Relevant issue(s)

Resolves #1494

## Description

Skips new test packages in change detector instead of panicing when
trying to run the setup tests.
shahzadlone pushed a commit to shahzadlone/defradb that referenced this issue Feb 23, 2024
## Relevant issue(s)

Resolves sourcenetwork#1494

## Description

Skips new test packages in change detector instead of panicing when
trying to run the setup tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Related to any test or testing suite bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant