1. 04 May, 2017 3 commits
  2. 21 Apr, 2017 3 commits
  3. 24 Mar, 2017 1 commit
  4. 23 Mar, 2017 3 commits
  5. 24 Feb, 2017 5 commits
    • Petr Špaček's avatar
      Deckard: simplify Scenario.force_ipv6 implementation · bf4206a9
      Petr Špaček authored
      Socket family selectino logic was unnecessarily duplicated several times.
      bf4206a9
    • Petr Špaček's avatar
      Deckard: PEP8 boolean expression fixes · 4ac8790e
      Petr Špaček authored
      Trivial changes to pythonify boolean expressions and avoid pep8 error E712
      "comparison to True should ..."
      4ac8790e
    • Petr Špaček's avatar
      Deckard: PEP8 whitespace fixes · 808d0f3d
      Petr Špaček authored
      Cheap re-indentation using python-autopep8-1.2.1-3.fc25 with few manual
      tweaks for very long lines.
      
      This costs nothing and will avoid PEP8 complaints about whitespace in CI.
      808d0f3d
    • Petr Špaček's avatar
      Deckard: PEP8 reindent · ed51c163
      Petr Špaček authored
      Cheap re-indentation using reindent.py from python-2.7.13.
      This costs nothing and will avoid PEP8 complaints about tabs in CI.
      ed51c163
    • Ivana Krumlova's avatar
      Deckard: Python 3 support · 0ee41b14
      Ivana Krumlova authored
      The main problem was that socket.type from Python standard library is
      not an integer anymore. It is EnumInt object which is used instead of
      bit field. To make the code compatible with both versions of Python we
      had to replace all exact value comparisons with bitwise masking.
      0ee41b14
  6. 23 Feb, 2017 3 commits
    • Petr Špaček's avatar
      Deckard: use SOCKET_WRAPPER_PCAP_FILE facilities · 5d06b04d
      Petr Špaček authored
      Custom implementation of packet logging was replaced by
      SOCKET_WRAPPER_PCAP_FILE facilities. The main advantage is that it logs
      all the traffic including malformed packets, ICMP messages and so on.
      
      As side-effect, this commit removes depedency on Python package dpkt.
      5d06b04d
    • Petr Špaček's avatar
      PEP8 fixes · 6019754f
      Petr Špaček authored
      6019754f
    • Grigorii Demidov's avatar
      Deckard: support for duplicate records · 479cd4e8
      Grigorii Demidov authored
      dnspython library by default coalesces RRsets of same type into one and
      automaticaly deduplicates equicalent RRs inside one RRset.
      This prevented Deckard from testing DNS messages with duplicate RR.
      
      To prevent this, all DNS messages are now parsed using option
      one_rr_per_rrset=True. This setting may create multiple RRsets
      of the same type but it seems okay for Deckard because the comparison
      algorithms compare individual RRs and ignore how they are distributed
      among RRsets.
      479cd4e8
  7. 21 Feb, 2017 1 commit
  8. 20 Feb, 2017 2 commits
  9. 23 Jan, 2017 1 commit
  10. 25 Aug, 2016 1 commit
  11. 27 Apr, 2016 1 commit
  12. 26 Apr, 2016 1 commit
  13. 09 Feb, 2016 1 commit
  14. 29 Jan, 2016 1 commit
  15. 28 Jan, 2016 2 commits
    • Marek Vavrusa's avatar
      scenario: STEP ASSERT <expr> · 6477b02a
      Marek Vavrusa authored
      this allows to make assertions about test environment,
      for example number of received queries,
      average RTT, number of performed steps etc.
      
      ranges are in variables: `RANGE = [...]`
      step is in variable: `STEP`
      
      example:
      STEP QUERY
      ...
      
      ; Check whether the query was received
      STEP ASSERT 0 < RANGE[0].received < 2
      ; This fails
      STEP ASSERT RANGE[0].received > 100
      
      it also evaluates subexpressions for useful
      failure information
      6477b02a
    • Marek Vavrusa's avatar
      scenario: RANGE has LOSS=<float> to simulate pktloss · 75f7910c
      Marek Vavrusa authored
      the RANGE can now choose to ignore percentage of
      received queries, this can be used to simulate
      packetloss/server busy
      75f7910c
  16. 27 Jan, 2016 3 commits
  17. 26 Jan, 2016 1 commit
    • Marek Vavrusa's avatar
      scenario: convenience aliases, short syntax · d35af230
      Marek Vavrusa authored
      * ANSWER alias for CHECK_ANSWER
      * MOCK alias for REPLY
      * ENTRY_BEGIN ... ENTRY_END not required,
        in that case ENTRY ends with newline, e.g.
      
      ; Simplified syntax
      STEP QUERY
      FLAGS RD
      SECTION QUESTION
      example.com IN A
      ; Entry ends here
      d35af230
  18. 25 Jan, 2016 1 commit
  19. 21 Jan, 2016 4 commits
  20. 19 Jan, 2016 2 commits