summaryrefslogtreecommitdiff
path: root/same/src/test/java/com
AgeCommit message (Collapse)Author
2012-04-24Remove unused code.Kjetil Ørbekk
2012-04-24Fix master takeover code.Kjetil Ørbekk
– Use the new services to send a MasterTakeover(). – Remove some old broadcast code. – Remove MasterProposerTest because this functionality is well enough covered by the functional test. – Remove HTTP services from PaxosServiceFunctionalTest. – Fix master takeover test.
2012-04-24Switch to protobuf based Paxos in functional test.Kjetil Ørbekk
2012-04-24Asynchronous paxos client using the protobuf interface.Kjetil Ørbekk
2012-04-17Master→Client communication uses protobuf services.Kjetil Ørbekk
– This change causes inconsistency in the .participants list and as a result some Paxos related tests run infinitely.
2012-04-17Master sends update requests using protobuf service.Kjetil Ørbekk
2012-04-17Client.startMasterElection() uses protobuf service.Kjetil Ørbekk
2012-04-17Client registers with protobuf service location.Kjetil Ørbekk
2012-04-11Client → Master communication now only protobuf-rpc.Kjetil Ørbekk
2012-04-11Use new RPC in Client.joinNetwork().Kjetil Ørbekk
2012-04-11Change Client.joinNetwork.Kjetil Ørbekk
Take MasterState instead of a simple URL.
2012-04-11Update tests.Kjetil Ørbekk
2012-04-10Add protobuf based Client service.protobuf-benchmarkKjetil Ørbekk
Use the new service internally in Client.
2012-03-27Fix state bug.0.3Kjetil Ørbekk
Make sure to copy the state when creating a new master. Using the same state instance on the master and client is a disaster.
2012-03-20Remove discovery code.Kjetil Ørbekk
Use centralized discovery instead.
2012-03-20Start master election when update fails.Kjetil Ørbekk
2012-03-20Make sure there is only one valid new master.Kjetil Ørbekk
This is done using the paxos proposal number as a certificate.
2012-03-20Master has to advertise its ID when taking over.Kjetil Ørbekk
2012-03-20Abort master proposal when master has been elected.Kjetil Ørbekk
Note: This doesn't really work. We need to do this based on serial number, otherwise the proposal may be canceled before it has begun, with the result that the proposal doesn't get canceled at all.
2012-03-20Client performs master election.Kjetil Ørbekk
2012-03-20Broadcast masterDown() event.Kjetil Ørbekk
2012-03-20Add Broadcaster in Client.Kjetil Ørbekk
2012-03-15Add tools for concurrent master proposal.Kjetil Ørbekk
2012-03-13Clients can become new masters.Kjetil Ørbekk
2012-03-13Clients can control their master.Kjetil Ørbekk
Add failing test.
2012-03-13Fix warnings in com.orbekk.same tests.Kjetil Ørbekk
2012-03-12Fix failing functional test.Kjetil Ørbekk
2012-03-12Add failing functional test.Kjetil Ørbekk
Test fails because of the new ConnectionState that is not properly implemented.
2012-03-12Client begins in disconnected state.Kjetil Ørbekk
2012-02-28Begin support for TJWS.Kjetil Ørbekk
Add TjwsServerContainer. Rename Jetty specific containers.
2012-02-28Add support for more than one listener to variables.Kjetil Ørbekk
2012-02-28Add VariableUpdaterTask.Kjetil Ørbekk
VariableUpdaterTask updates a variable countinously.
2012-02-27Remove argument to DelayedOperation.working-graphics-0.1Kjetil Ørbekk
2012-02-27Remove set(id, value, revision) from ClientInterface.Kjetil Ørbekk
Fix equals() bug in Component. Fix failing test.
2012-02-27Add DelayedOperation<T> class.Kjetil Ørbekk
A DelayedOperation represents an asynchronious operation.
2012-02-23Make it possible to create "fake" clients on Android.Kjetil Ørbekk
Extract interface from Client.ClientInterface in order to override it for Android, while still using the VariableFactory code as-is.
2012-02-23Implement listeners in Variables.Kjetil Ørbekk
2012-02-23Support several state listeners in Client.Kjetil Ørbekk
2012-02-17VariableFactory: Support set() operation.Kjetil Ørbekk
2012-02-16Implement Variable.Kjetil Ørbekk
State can now be edited with Variable objects.
2012-02-16Rename ClientServiceImplTest => ClientTest.Kjetil Ørbekk
2012-02-16Replace Master with new implementation.Kjetil Ørbekk
2012-02-16Implement all MasterService operations in NewMaster.Kjetil Ørbekk
Tested with tests ported from old MasterImplTest.
2012-02-16Start new Master implementation.Kjetil Ørbekk
2012-02-07Add interrupt() support to BroadcastListener.Kjetil Ørbekk
2012-02-06Refactor: Rename classes.Kjetil Ørbekk
Rename Client and Master classes, because the classes contain more than just the service interfaces. – ClientServiceImpl => Client. – MasterServiceImpl => Master.
2012-02-06Fix RpcServlet: Use POST requests.Kjetil Ørbekk
2012-02-06Fix failing tests.Kjetil Ørbekk
Tests were failing because of URL problems after refactoring.
2012-02-06Refactor URL handling in Client and Master.Kjetil Ørbekk
– Take URL as parameter to constructor.
2012-02-06Add a class that holds server information.Kjetil Ørbekk
– Provides access to the context and port, used in testing.