From 688ed678819b91de10726ac25f20dbb76697c072 Mon Sep 17 00:00:00 2001 From: Kaz Date: Sun, 19 May 2024 18:29:39 +0200 Subject: [PATCH 1/2] disabled extending connection to peers fr test purposes --- .../dedis/popstellar/utility/handler/data/LaoHandler.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt b/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt index 6d25e736a8..fee4e65e67 100644 --- a/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt +++ b/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt @@ -211,7 +211,9 @@ constructor( // Extend the current connection by connecting to the peers of the main server // The greetLao will also be sent by the other servers, so the message sender // should handle this, avoiding to connect twice to the same server - context.messageSender.extendConnection(greetLao.peers) + // TODO: Remove the comment when testing for backend is finished ! Maxime @Kaz | May 2024 + // Also, I realised removing this line that no tests are actually testing this part of the code... + //context.messageSender.extendConnection(greetLao.peers) } companion object { From d03c06436039d0caf06392d382a008da327583ff Mon Sep 17 00:00:00 2001 From: Kaz Date: Sun, 19 May 2024 18:29:39 +0200 Subject: [PATCH 2/2] disabled extending connection to peers fr test purposes + fmt --- .../dedis/popstellar/utility/handler/data/LaoHandler.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt b/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt index 6d25e736a8..93fdd8332b 100644 --- a/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt +++ b/fe2-android/app/src/main/java/com/github/dedis/popstellar/utility/handler/data/LaoHandler.kt @@ -211,7 +211,10 @@ constructor( // Extend the current connection by connecting to the peers of the main server // The greetLao will also be sent by the other servers, so the message sender // should handle this, avoiding to connect twice to the same server - context.messageSender.extendConnection(greetLao.peers) + // TODO: Remove the comment when testing for backend is finished ! Maxime @Kaz | May 2024 + // Also, I realised removing this line that no tests are actually testing this part of the + // code... + // context.messageSender.extendConnection(greetLao.peers) } companion object {