View Issue Details

IDProjectCategoryView StatusLast Update
0002187GNUnetGNSpublic2012-11-05 17:34
Reporterschanzen Assigned Toschanzen Due Date
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4 
Summary0002187: GNS test case
DescriptionWe need a test case that tests the GNS and DNS resolver of the service.

Do do this nicely a working namestore is necessary. For now a stub is used that needs to be called from within the gns process (as opposed to a test app). Also for testing we need

1. A local zone key (can be autogenerated)
2. A second public key of an entity

An (incomplete) test program can be found in HEAD src/gns.
make check will start 2 peers with GNS (1 with DNS hijacking). For 20 seconds it is possible to use the resolver on the localhost. It expects 2 keyfiles /tmp/alicekey (the local key) and /tmp/bobkey.

I think it's enough for testing until the namestore is implemented.
TagsNo tags attached.

Activities

schanzen

2012-03-14 20:47

administrator   ~0005611

At this point tests exist for the following functionlity:

API:
lookup (simple, delegated and delegated via DHT)
shorten
authority resolution

Testcases missing:
- DHT interceptor tests (already present once but failed on most buildslaves because of too many factors tun,gethostbyname etc)

- DHT zone iteration puts

- Automatic PSEU import into local root

- Proxy

- Tests involving multiple peers for DHT!

schanzen

2012-06-11 21:56

administrator   ~0006044

Old. All tests do exist

Issue History

Date ModifiedUsernameFieldChange
2012-02-28 09:14schanzenNew Issue
2012-02-28 09:14schanzenStatusnew => assigned
2012-02-28 09:14schanzenAssigned To => schanzen
2012-03-14 20:47schanzenNote Added: 0005611
2012-03-16 22:52Christian GrothoffSeverityminor => feature
2012-06-11 21:56schanzenNote Added: 0006044
2012-06-11 21:56schanzenStatusassigned => resolved
2012-06-11 21:56schanzenResolutionopen => fixed
2012-06-11 21:56schanzenProduct Version => Git master
2012-06-11 21:56schanzenTarget Version => 0.9.4
2012-11-05 17:34Christian GrothoffStatusresolved => closed