[tor-bugs] #22280 [Metrics/metrics-lib]: check tests and parsing for duplicate keys and empty keys exceptions

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 6 18:21:04 UTC 2017


#22280: check tests and parsing for duplicate keys and empty keys exceptions
---------------------------------+-----------------------------------
 Reporter:  iwakeh               |          Owner:  iwakeh
     Type:  enhancement          |         Status:  accepted
 Priority:  Medium               |      Milestone:  metrics-lib 1.9.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by iwakeh):

 First batch of checking messages in expected exceptions is
 [https://gitweb.torproject.org/user/iwakeh/metrics-
 lib.git/commit/?h=task-22280&id=06f65152e357c93effc9fbf6e19d39fae9e84e7e
 here].

 There are 270 left:
 {{{
 src/test/java/org/torproject/descriptor/impl/RelayNetworkStatusConsensusImplTest.java:100
 src/test/java/org/torproject/descriptor/impl/RelayNetworkStatusVoteImplTest.java:90
 src/test/java/org/torproject/descriptor/impl/ServerDescriptorImplTest.java:80
 }}}

 And, of course the empty and duplicate key changes to tests.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22280#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list