Changes between Version 5 and Version 6 of DDNSSystemTests


Ignore:
Timestamp:
Jun 5, 2012, 8:47:50 AM (5 years ago)
Author:
jelte
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DDNSSystemTests

    v5 v6  
    2828  * The SERIAL value of the SOA in the zone should be n + 3
    29296. Send a command to stop b10-ddns (without removing it from the configuration, i.e. it should be restarted)
    30 7. Send a DDNS Update with a SOA record with SERIAL n + 4
     307. Wait for b10-ddns to be restarted
     318. Send a DDNS Update with a SOA record with SERIAL n + 4
    3132  * The response should be NOERROR
    3233  * The SERIAL value of the SOA in the zone should be n + 4
    33 8. Send a command to stop b10-auth (without removing it from the configuration, i.e. it should be restarted)
    34 9. Send a DDNS Update with a SOA record with SERIAL n + 5
     349. Send a command to stop b10-auth (without removing it from the configuration, i.e. it should be restarted)
     3510. Send a DDNS Update with a SOA record with SERIAL n + 5
    3536  * The response should be NOERROR
    3637  * The SERIAL value of the SOA in the zone should be n + 5
    37 10. Update the configuration to no longer run b10-ddns
    38 11. Send a DDNS Update for the zone with a SERIAL of n + 6
     3811. Update the configuration to no longer run b10-ddns
     3912. Send a DDNS Update for the zone with a SERIAL of n + 6
    3940  * The server's response should be REFUSED (or should it be NOTIMPL?)
    4041  * The SERIAL value of the SOA in the zone should be n + 5
    4142
    4243(Note: this test also checks that the in-memory datasource is updated after a DDNS update. We may want to split that to a separate test.)
     44(Note2: this will currently fail at at least step 8)
    4345
    4446== ACL tests ==
     
    147149    * The new record should be present in the zone
    1481506. Send a DDNS Update that has a record of class IN, type SOA, and name of the second (non-primary master) zone, which adds a record that does not exist yet.
    149     * The response should be NOTAUTH
     151    * The response should be NOTIMP
    150152    * The SOA SERIAL value of the secondary zone should be m
    151153    * The new record should not be present in the secondary zone
     154
     155(Note: For test 6, what the server should really do is forward the update to the primary master (Section 3.1.1 and 6), if we implement that, we should remove the test from this test set and create a new test set with an added primary master.)
    152156
    153157== Prerequisite section tests ==
     
    265269A BIND 10 system has been configured to run b10-ddns. It has been preloaded with a zone of class IN with a SOA SERIAL value of n. b10-ddns has said zone enabled for dynamic updates, and the ACL is set to accept updates from the client running the tests.
    266270
     271''Tests''
    2672721. Send a DDNS Update message for the zone, which adds a record that does not exist yet.
    268273    * The response should be NOERROR
     
    279284    * The response should contain the IXFR differences from SOA SERIAL n to n+1, i.e.
    280285      the record that got deleted in step 3.
     286
     287= Broken zone test =
     288
     289''Preconditions''
     290A BIND 10 system has been configured to run b10-ddns, it has been preloaded with a zone, but said zone has no SOA record.
     291
     292''Tests''
     2931. Send a DDNS Update message for the zone, which adds a record that does not exist yet.
     294    * The response should be SERVFAIL
     295    * Querying the zone should result in SERVFAIL
     2962. Send a DDNS Update message for the zone, which adds a SOA record
     297    * The response should be SERVFAIL
     298    * Querying the zone should result in SERVFAIL
     299
     300(Note: We may want to consider recovery from this situation; in that case, the second test should result in a correct zone and both the update and the query should succeed.)
    281301
    282302= Possible additional tests =