Skip to content

Commit

Permalink
credits for connamara#258
Browse files Browse the repository at this point in the history
  • Loading branch information
gbirchmeier committed Apr 21, 2014
1 parent 1aa3b2e commit d7f8281
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions NEXT_VERSION.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ Changes since the last version:

* (minor) #247 - support for CheckLatency/MaxLatency config settings (ruaanviljoen)
* (minor) #256 - bug in 247, defaults override config (akamyshanov)
* (minor) #258 - threadsafe SessionState.Get/Set to fix garbled message issue (jacsuper)

6 changes: 1 addition & 5 deletions UnitTests/SessionStateTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public void TimedOut()
System.DateTime now = System.DateTime.UtcNow;
System.DateTime lastReceivedTime = now;



now = now.AddMilliseconds(heartBtIntMillis);
Assert.False(SessionState.TimedOut(now, heartBtIntMillis, lastReceivedTime));
now = now.AddMilliseconds(heartBtIntMillis);
Expand Down Expand Up @@ -211,14 +209,12 @@ public void ThreadSafeSetAndGet() {
//wait till done and assert results
Assert.True(setEvent.WaitOne(10000), "Get or Set hung/timed out during concurrent usage");
Assert.True(getEvent.WaitOne(10000), "Get or Set hung/timed out during concurrent usage");
Assert.AreEqual(setTable, getTable, "Garbled data read in concurrent set and get (like between resendrequest and send)");
Assert.AreEqual(setTable, getTable, "Garbled data read in concurrent set and get (like between resendrequest and send)");
Assert.AreEqual(errorsTable.Count, 0, "IOException occured in concurrent set and get (like between resendrequest and send)");

//Tear down filestore
state.Dispose();
store.Dispose();

}

}
}
1 change: 1 addition & 0 deletions web/views/about/credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ Contributors
- Daniel Svensson
- Ruann Viljoen
- Andrey Kamyshanov
- jacsuper


0 comments on commit d7f8281

Please sign in to comment.