-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1808 from dedis/work-be2-onsriahi-Reduce-heartbea…
…tbuild-logic-duplication Reduce heartbeatbuild logic duplication
- Loading branch information
Showing
10 changed files
with
278 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 0 additions & 74 deletions
74
be2-scala/src/main/scala/ch/epfl/pop/decentralized/HeartbeatGenerator.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
be2-scala/src/test/scala/ch/epfl/pop/decentralized/FailingToyDbActor.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
package ch.epfl.pop.decentralized | ||
|
||
import akka.actor.Actor | ||
import ch.epfl.pop.model.objects.{Channel, DbActorNAckException} | ||
import ch.epfl.pop.pubsub.graph.ErrorCodes.SERVER_ERROR | ||
import ch.epfl.pop.storage.DbActor | ||
import ch.epfl.pop.model.objects.DbActorNAckException | ||
|
||
class FailingToyDbActor extends Actor { | ||
override def receive: Receive = { | ||
case _ => { | ||
case _ => | ||
sender() ! DbActorNAckException(0, "") | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.