goharbor / goharbor/perf

How to initialize two Harbor instances?

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
25
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi all!
I'm trying to write replication test between two Harbor instances. I tried to create them like this:
```
const harbor1 = new Harbor(settings.Harbor1)
const harbor2 = new Harbor(settings.Harbor2)
```
but when I run my test I got an error:
```
goerror: harbor module initialized
```
How I can solve this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test entry point is named. Start by tracing the Harbor constructor and the source of the “harbor module initialized” error, then inspect how the replication test creates its instances. Done means the test can initialize two Harbor instances with separate settings without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.