x/ref/runtime/internal/...: make sure tests finish rpc's before next test starts.

The current rpc implementation leaves go routines running around waiting
for responses from the remote end even after the root context is shutdown.
Consequently, these may attempt to access the root context after it
has been shutdown which will lead to a panic. The common case is to
call v23.GetPrincipal(ctx).

Change-Id: Ib32edbb97d575c1d6d7dfdffac1875652668f52c
2 files changed
tree: 652843168af40a19eabf1fa0522a71429cb27f21
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.