mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-02 05:53:07 +00:00
chore: waku-go-bindings -> logos-messaging-go-bindings
This commit is contained in:
parent
9a9a9e5c88
commit
3d5e8e550b
@ -5,7 +5,7 @@ Go bindings for the Waku library.
|
||||
## Install
|
||||
|
||||
```
|
||||
go get -u github.com/waku-org/waku-go-bindings
|
||||
go get -u github.com/logos-messaging/logos-messaging-go-bindings
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
@ -6,7 +6,7 @@ import (
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/waku-org/waku-go-bindings/utils"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/utils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@ -4,8 +4,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
)
|
||||
|
||||
func TestBasicWakuNodes(t *testing.T) {
|
||||
@ -29,7 +29,7 @@ func TestBasicWakuNodes(t *testing.T) {
|
||||
Debug("TestBasicWakuNodes completed successfully")
|
||||
}
|
||||
|
||||
/* artifact https://github.com/waku-org/waku-go-bindings/issues/40 */
|
||||
/* artifact https://github.com/logos-messaging/logos-messaging-go-bindings/issues/40 */
|
||||
func TestNodeRestart(t *testing.T) {
|
||||
t.Skip("Skipping test for open artifact ")
|
||||
Debug("Starting TestNodeRestart")
|
||||
|
||||
@ -360,7 +360,7 @@ import (
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/pb"
|
||||
"github.com/waku-org/go-waku/waku/v2/utils"
|
||||
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
)
|
||||
|
||||
const requestTimeout = 30 * time.Second
|
||||
|
||||
@ -13,11 +13,11 @@ import (
|
||||
|
||||
"github.com/cenkalti/backoff/v3"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
ma "github.com/multiformats/go-multiaddr"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/pb"
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/store"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
)
|
||||
|
||||
// In order to run this test, you must run an nwaku node
|
||||
|
||||
@ -16,9 +16,9 @@ import (
|
||||
|
||||
"github.com/cenkalti/backoff/v3"
|
||||
"github.com/libp2p/go-libp2p/core/peer"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/utils"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/pb"
|
||||
"github.com/waku-org/waku-go-bindings/utils"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
)
|
||||
|
||||
// Test node connect & disconnect peers
|
||||
|
||||
@ -7,9 +7,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/cenkalti/backoff/v3"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/pb"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/go-waku/waku/v2/protocol/pb"
|
||||
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
|
||||
// "go.uber.org/zap/zapcore"
|
||||
"google.golang.org/protobuf/proto"
|
||||
@ -117,7 +117,7 @@ func TestStressStoreQuery5kMessagesWithPagination(t *testing.T) {
|
||||
require.NoError(t, err, "Failed to query store messages")
|
||||
require.Greater(t, len(*storedmsgs.Messages), 0, "Expected at least one stored message")
|
||||
}
|
||||
Debug("##Iteration #%d",i)
|
||||
Debug("##Iteration #%d", i)
|
||||
}
|
||||
|
||||
captureMemory(t.Name(), "at end")
|
||||
@ -153,17 +153,15 @@ func TestStressHighThroughput10kPublish(t *testing.T) {
|
||||
|
||||
hash, err := node1.RelayPublishNoCTX(pubsubTopic, msg)
|
||||
require.NoError(t, err, "publish failed @%d", i)
|
||||
Debug("Iteration-10kpublish #%d",i)
|
||||
err = node2.VerifyMessageReceived(msg, hash )
|
||||
Debug("Iteration-10kpublish #%d", i)
|
||||
err = node2.VerifyMessageReceived(msg, hash)
|
||||
require.NoError(t, err, "verification failed @%d", i)
|
||||
|
||||
|
||||
}
|
||||
|
||||
captureMemory(t.Name(), "at end")
|
||||
}
|
||||
|
||||
|
||||
func TestStressConnectDisconnect1kIteration(t *testing.T) {
|
||||
captureMemory(t.Name(), "at start")
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/waku-org/waku-go-bindings/waku/common"
|
||||
"github.com/logos-messaging/logos-messaging-go-bindings/waku/common"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user