Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Improve tests of pkg/db package #30

Merged
merged 3 commits into from
Sep 8, 2019
Merged

Improve tests of pkg/db package #30

merged 3 commits into from
Sep 8, 2019

Commits on Sep 7, 2019

  1. Configuration menu
    Copy the full SHA
    e9d4ecc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ce8cf4 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2019

  1. Refactor reads and updates bbolt buckets

    In order to improve the tests of readRecord it became obvious that
    its signature has to change. This eventually led to the introduction of
    a bucket type which now provides readRecord and an analogous writeRecord
    function. The bucket keeps track of errors that may have occured during
    its lifetime and does not execute further actions if it has an error.
    This allows to simplify the error handling in the various users of
    bucket.
    fhofherr committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    2e3f295 View commit details
    Browse the repository at this point in the history