chore_: uncomment and skip TestBecomeMemberPermissions (#5121)
This commit is contained in:
parent
1c43b7a29b
commit
522f3288b0
|
@ -5,6 +5,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/ecdsa"
|
"crypto/ecdsa"
|
||||||
"errors"
|
"errors"
|
||||||
|
"fmt"
|
||||||
"math/big"
|
"math/big"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
@ -20,6 +21,7 @@ import (
|
||||||
"github.com/status-im/status-go/eth-node/crypto"
|
"github.com/status-im/status-go/eth-node/crypto"
|
||||||
"github.com/status-im/status-go/eth-node/types"
|
"github.com/status-im/status-go/eth-node/types"
|
||||||
"github.com/status-im/status-go/protocol/common"
|
"github.com/status-im/status-go/protocol/common"
|
||||||
|
"github.com/status-im/status-go/protocol/common/shard"
|
||||||
"github.com/status-im/status-go/protocol/communities"
|
"github.com/status-im/status-go/protocol/communities"
|
||||||
"github.com/status-im/status-go/protocol/protobuf"
|
"github.com/status-im/status-go/protocol/protobuf"
|
||||||
"github.com/status-im/status-go/protocol/requests"
|
"github.com/status-im/status-go/protocol/requests"
|
||||||
|
@ -630,14 +632,20 @@ func (s *MessengerCommunitiesTokenPermissionsSuite) TestEditSharedAddresses() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE(cammellos): Disabling for now as flaky, for some reason does not pass on CI, but passes locally
|
// NOTE(cammellos): Disabling for now as flaky, for some reason does not pass on CI, but passes locally
|
||||||
/*
|
|
||||||
func (s *MessengerCommunitiesTokenPermissionsSuite) TestBecomeMemberPermissions() {
|
func (s *MessengerCommunitiesTokenPermissionsSuite) TestBecomeMemberPermissions() {
|
||||||
|
s.T().Skip("flaky test")
|
||||||
|
|
||||||
// Create a store node
|
// Create a store node
|
||||||
// This is needed to fetch the messages after rejoining the community
|
// This is needed to fetch the messages after rejoining the community
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
storeNodeLogger := s.logger.Named("store-node-waku")
|
cfg := testWakuV2Config{
|
||||||
wakuStoreNode := NewTestWakuV2(&s.Suite, storeNodeLogger, true, true, false, shard.UndefinedShardValue)
|
logger: s.logger.Named("store-node-waku"),
|
||||||
|
enableStore: false,
|
||||||
|
useShardAsDefaultTopic: false,
|
||||||
|
clusterID: shard.UndefinedShardValue,
|
||||||
|
}
|
||||||
|
wakuStoreNode := NewTestWakuV2(&s.Suite, cfg)
|
||||||
|
|
||||||
storeNodeListenAddresses := wakuStoreNode.ListenAddresses()
|
storeNodeListenAddresses := wakuStoreNode.ListenAddresses()
|
||||||
s.Require().LessOrEqual(1, len(storeNodeListenAddresses))
|
s.Require().LessOrEqual(1, len(storeNodeListenAddresses))
|
||||||
|
@ -826,7 +834,7 @@ func (s *MessengerCommunitiesTokenPermissionsSuite) TestBecomeMemberPermissions(
|
||||||
fmt.Printf("ID: %s\n", m.ID)
|
fmt.Printf("ID: %s\n", m.ID)
|
||||||
}
|
}
|
||||||
s.Require().NoError(err)
|
s.Require().NoError(err)
|
||||||
}*/
|
}
|
||||||
|
|
||||||
func (s *MessengerCommunitiesTokenPermissionsSuite) TestJoinCommunityWithAdminPermission() {
|
func (s *MessengerCommunitiesTokenPermissionsSuite) TestJoinCommunityWithAdminPermission() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue