View Issue Details

IDProjectCategoryView StatusLast Update
0002187GNUnetGNSpublic2012-11-05 18:34
Reporterschanzen Assigned Toschanzen  
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 21: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 23:56

administrator   ~0006044

Old. All tests do exist

Issue History

Date Modified Username Field Change
2012-02-28 10:14 schanzen New Issue
2012-02-28 10:14 schanzen Status new => assigned
2012-02-28 10:14 schanzen Assigned To => schanzen
2012-03-14 21:47 schanzen Note Added: 0005611
2012-03-16 23:52 Christian Grothoff Severity minor => feature
2012-06-11 23:56 schanzen Note Added: 0006044
2012-06-11 23:56 schanzen Status assigned => resolved
2012-06-11 23:56 schanzen Resolution open => fixed
2012-06-11 23:56 schanzen Product Version => Git master
2012-06-11 23:56 schanzen Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed