test: clears the namespace roots in tests

Currently, any test that doesn't create its own mounttable 'inherits'
the default namespace root,
"/(dev.v.io:role:vprod:service:mounttabled)@ns.dev.v.io:8101".  We don't
want this kind of dependency in tests, both to isolate tests and to
prevent undue load on the prod mounttable.

This change clears the namespace roots when using V23Init to create a
context.

This 'cleanup' is part of a larger effort to get all the tests to use
some sort of test context.

Change-Id: I5ab4e1edcfaa83e19ab6b5cf93061ab21195a289
3 files changed
tree: 3c8c9d105f10849b7fac38979c5150170220d8b3
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. 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.