~~Hey guys, The docs for `serve-testing` says, `Al...
# spicedb
r
~~Hey guys, The docs for
serve-testing
says,
All data written is ephemeral: it will be lost when the process is shut down.
. In my case, after running test, all the relationships created in unit test should also be deleted since the test process exited. But it is not working and the data is still in database. Am I missed something here?~~ Seems the process mentioned in docs is
spicedb
server process. After
spicedb
shutting down, all the data deleted from database. https://authzed.com/docs/guides/validation-and-testing#testing-code-against-spicedb
Copy code
rpc error: code = AlreadyExists desc = could not CREATE relationship `org:acme#admin@user:org_admin`, as it already existed. If this is persistent, please switch to TOUCH operations or specify a precondition
3 Views