Skip to content

[Question] repo['id'] is changing at each "modification" of the repo configuration? #6

@Benouare

Description

@Benouare

EDIT : It looks like the id shouldnt change... I am searching why i am having this behavior in my test.

Hi,

What i am doing :

In my unit test i am verifing the behavior of my app to know if it's creating/managing well my borgbase repos and keys.

I am currently cleaning/improving my tests, and just found something.

Behavior :

  • creating repo name my repo named client1. It replies path = XYZ.borgbase.com, name = client1, id = ABCD, appendOnly is empty
  • creating ssh key (with name client1 -> repo.name === ssh.name)
  • asking current repo configuration with name client1 -> appendOnly is empty, id = ABCD
  • mounting ssk.key = client1 on repo.name client1
  • asking current repo configuration with name client1 -> appendOnly is not empty, id = JJHGF, name = client1 path = xyz.borgbase.com

What I would like :

I am not stuck on this, but would like to be sure that it's a normal behavior that the 'id' is changing at each modification of the configuration, or if i am doing something wrong.

Thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions