diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 16:27:33 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 16:28:54 +0200 |
commit | b9469eb43b5647605ad7b9662f584c2efbef5153 (patch) | |
tree | 5a14e1213b8aa8956c639f4687c8d662aaad9773 /same/src/test/java/com/orbekk/paxos | |
parent | b78972404f4b0a5dbccb6849021c2ca2d5e8bb46 (diff) |
Remove unused code.
– Remove old HTTP code.
– Remove Jetty, Jsonrpc and servlet dependencies.
– Remove state viewer servlet.
– Remove unmaintained tests (rely on functional tests instead).
Diffstat (limited to 'same/src/test/java/com/orbekk/paxos')
-rw-r--r-- | same/src/test/java/com/orbekk/paxos/PaxosServiceTest.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/same/src/test/java/com/orbekk/paxos/PaxosServiceTest.java b/same/src/test/java/com/orbekk/paxos/PaxosServiceTest.java index c07ca87..3160d2d 100644 --- a/same/src/test/java/com/orbekk/paxos/PaxosServiceTest.java +++ b/same/src/test/java/com/orbekk/paxos/PaxosServiceTest.java @@ -29,11 +29,11 @@ public class PaxosServiceTest { @Before public void setUp() { Collections.addAll(servers, p1, p2, p3, p4, p5); - connections.paxosMap.put("p1", p1); - connections.paxosMap.put("p2", p2); - connections.paxosMap.put("p3", p3); - connections.paxosMap.put("p4", p4); - connections.paxosMap.put("p5", p5); + connections.paxosMap0.put("p1", p1.getService()); + connections.paxosMap0.put("p2", p2.getService()); + connections.paxosMap0.put("p3", p3.getService()); + connections.paxosMap0.put("p4", p4.getService()); + connections.paxosMap0.put("p5", p5.getService()); } @Test @@ -58,7 +58,7 @@ public class PaxosServiceTest { } public List<String> paxosUrls() { - return new ArrayList<String>(connections.paxosMap.keySet()); + return new ArrayList<String>(connections.paxosMap0.keySet()); } @Test |