goharbor / perf

performance test scripts and data
Apache License 2.0
20 stars 16 forks source link

How to initialize two Harbor instances? #47

Open edikevich opened 8 months ago

edikevich commented 8 months ago

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?