Write unit tests for SessionDisconnectJob #134

Closed
opened 2026-04-27 00:19:15 +02:00 by lars.winzer · 8 comments
lars.winzer commented 2026-04-27 00:19:15 +02:00 (Migrated from git.scicore.unibas.ch)

Task

Summary

The SessionDisconnectJob, whose purpose it is to disconnect sessions that have reaced the set timeout, needs to be tested.

Context

SessionDisconnectJob, Unit Tests

Current Progress

  • Write unit tests for SessionDisconnectJob

Notes

None

Checklist

  • I outlined checkpoints describing phases of my work related to this task
  • I added relevant labels
  • I linked to other issues or branches that must be completed first
## Task <!--The reccommended type is: Task--> ### Summary The SessionDisconnectJob, whose purpose it is to disconnect sessions that have reaced the set timeout, needs to be tested. ### Context SessionDisconnectJob, Unit Tests ### Current Progress - [x] Write unit tests for SessionDisconnectJob ### Notes None ### Checklist - [x] I outlined checkpoints describing phases of my work related to this task - [x] I added relevant labels - [x] I linked to other issues or branches that must be completed first
lars.winzer commented 2026-04-27 00:19:38 +02:00 (Migrated from git.scicore.unibas.ch)

created branch feat/134-write-unit-tests-for-sessiondisconnectjob to address this issue

created branch [`feat/134-write-unit-tests-for-sessiondisconnectjob`](/cs108-fs26/Gruppe-13/-/compare/main...feat%2F134-write-unit-tests-for-sessiondisconnectjob) to address this issue
lars.winzer commented 2026-04-27 00:22:19 +02:00 (Migrated from git.scicore.unibas.ch)

added 30m of time spent at 2026-04-27 12:00:00 +0200

added 30m of time spent at 2026-04-27 12:00:00 +0200
lars.winzer commented 2026-04-27 00:23:48 +02:00 (Migrated from git.scicore.unibas.ch)

These tests are not the best unit tests I wrote, mainly because the job integrates into many neighbouring components.

Nevertheless the combination of both tests should still provide a good coverage of potential bugs.

These tests are not the best unit tests I wrote, mainly because the job integrates into many neighbouring components. Nevertheless the combination of both tests should still provide a good coverage of potential bugs.
lars.winzer commented 2026-04-27 00:24:58 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !160

mentioned in merge request !160
lars.winzer commented 2026-04-27 00:38:35 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 71f2d3c2ce

mentioned in commit 71f2d3c2cee4904b26ffef4b1daee124091432f6
lars.winzer (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-27 00:38:36 +02:00
lars.winzer commented 2026-04-27 00:59:59 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-04-27 01:00:25 +02:00 (Migrated from git.scicore.unibas.ch)

marked the checklist item Write unit tests for SessionDisconnectJob as completed

marked the checklist item **Write unit tests for SessionDisconnectJob** as completed
lars.winzer commented 2026-04-27 01:09:42 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in task #111

mentioned in task #111
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#134