Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 19, 2012
  1. @edsko
  2. @edsko

    Prep for release 0.1.0.1

    edsko authored
  3. @edsko

    Prep for release 0.3.1.

    edsko authored
    Add support for expected failures so that unimplemented unit tests show as Ok
    rather than Failed.
    
    Remove debugging print statement.
Commits on Oct 18, 2012
  1. @edsko

    Major re-engineering of the test infrastructure

    edsko authored
    Compared to the previous version, this
    
    - Merges execution and verification of scripts. This means we can be more
      precise in what we actually test
    - Introduced an explicit data type for "Expected events" which can contain
      variables (existentials) for connection IDs. This makes it possible to
      specify the expected event when we open a new connection (we don't know
      what connection ID will be assigned, so we just create an existential)
    - Make reordering of events explicit: we introduce a function that creates all
      permissible reordering of events (that is, events across connections can
      be reordered, but events within the same connection cannot)
    
    We can now run all the tests that don't contain errors without explicit delays,
    so that unit tests run much faster, and we are testing much more thoroughly: by
    introducing delays at every step we greatly reduce concurrency; we can now even
    run test scripts in parallel (but first we need to reintroduce support for
    scripts with errors).
  2. @edsko

    More support for dealing with errors

    edsko authored
    However, current setup in the mock network implementation is insufficient,
    because it requires the existence of a socket before we can register an error.
    That means we can't simulate certain errors (for instance, failure when trying
    to create the first connection) because we can't hook into the network layer to
    get the socket at that point.
Commits on Oct 17, 2012
  1. @edsko

    Cleanup.

    edsko authored
  2. @edsko

    Start introducing simulated network errors

    edsko authored
    Script verification does not yet handle these errors
Commits on Oct 16, 2012
  1. @edsko

    Cleanup. Add support for 'send'

    edsko authored
  2. @edsko
Commits on Oct 15, 2012
  1. @edsko

    Important bugfix: reconnecting didn't always work

    edsko authored
    The following sequence resulted in deadlock:
    
      A connects to B
      A closes connection
      B connects to A
      B closes connection
      B reconnects to A
    
    The problem was in the network protocol, where A tells B the ID of the last
    connection B opened to A. If this is lower than the last connection B
    *actually* opened, B knows there are still some messages on the way to A and B
    must wait before they are resolved. However, this connection ID should be kept
    *per heavyweight connection*. We were inconsistent about this: we recorded the
    ID of the last created connection on the heavyweight connection, but the next
    available ID was a 'global' variable on the local endpoint.
    
    This meant that B sometimes incorrectly concluded that some messages were still
    on the way to A, resulting in deadlock.
  2. @edsko

    Cleanup

    edsko authored
  3. @edsko

    Add support for testing individual scripts

    edsko authored
    And add a script that appears to identify a bug in N.T.TCP :(
Commits on Oct 12, 2012
  1. @edsko

    Continue work on script driven testing

    edsko authored
    There appears to be a bug in the mock network implementation, ConnectClose
    deadlocks sometimes with the mock but never with a real socket.
  2. @edsko
  3. @edsko

    Continue work on the script-driven testing

    edsko authored
    Collecting of events is more implemented properly; still need the abstract
    interpreter.
Commits on Oct 11, 2012
  1. @edsko

    Start work on more unit testing.

    edsko authored
  2. @edsko
  3. @edsko

    Relax upper bound on base

    edsko authored
  4. @edsko

    Fix bug in mock network interface

    edsko authored
    When closing a socket, the peer socket is closed _after_ messages that were
    already sent have been delivered.
Commits on Oct 10, 2012
  1. @edsko

    Handle exceptions in N.T.Util.spawn

    edsko authored
    This closes #42.
Commits on Oct 5, 2012
  1. @edsko
  2. @edsko
  3. @edsko

    Use FQN for functionSDict and functionTDict

    edsko authored
    This closes #41.
Commits on Oct 4, 2012
  1. @edsko

    Rename files

    edsko authored
  2. @edsko

    Add the PDF to the repository

    edsko authored
  3. @edsko
  4. @edsko

    Remove obsolete version

    edsko authored
  5. @edsko

    Cleanup semantics

    edsko authored
Commits on Oct 3, 2012
  1. @edsko
  2. @edsko
  3. @edsko
  4. @edsko
  5. @edsko
  6. @edsko
  7. @edsko

    Minor changes

    edsko authored
Something went wrong with that request. Please try again.