-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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(test): Clean cruft from test run #8348
Conversation
e1d674f
to
a80c643
Compare
edgraph/server_test.go
Outdated
@@ -204,4 +204,7 @@ func TestParseSchemaFromAlterOperation(t *testing.T) { | |||
}) | |||
} | |||
|
|||
ps.Close() | |||
os.RemoveAll(dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skrdgraph Thanks for noticing this, I think now it is much cleaner. Note that defer statements are executed in FILO order.
Pushing this out to next release (marking draft temporarily) |
dd18b4a
to
6e8d4cb
Compare
Problem
This PR introduces some badger instances that are not closed.
Solution
We clean up the files.