Skip to content

Commit

Permalink
skip all swamp tests to ensure the FPHandling is working
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Sep 28, 2023
1 parent 555ee1e commit 0a5c93a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nodebuilder/tests/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func getAdminClient(ctx context.Context, nd *nodebuilder.Node, t *testing.T) *cl
}

func TestNodeModule(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -72,6 +73,7 @@ func TestNodeModule(t *testing.T) {
}

func TestGetByHeight(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -101,6 +103,7 @@ func TestGetByHeight(t *testing.T) {

// TestBlobRPC ensures that blobs can be submited via rpc
func TestBlobRPC(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -131,6 +134,7 @@ func TestBlobRPC(t *testing.T) {
// TestHeaderSubscription ensures that the header subscription over RPC works
// as intended and gets canceled successfully after rpc context cancellation.
func TestHeaderSubscription(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down
1 change: 1 addition & 0 deletions nodebuilder/tests/blob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
)

func TestBlobModule(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), 25*time.Second)
t.Cleanup(cancel)
sw := swamp.NewSwamp(t, swamp.WithBlockTime(time.Second*1))
Expand Down
2 changes: 2 additions & 0 deletions nodebuilder/tests/nd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
)

func TestShrexNDFromLights(t *testing.T) {
t.Skip()
const (
blocks = 10
btime = time.Millisecond * 300
Expand Down Expand Up @@ -78,6 +79,7 @@ func TestShrexNDFromLights(t *testing.T) {
}

func TestShrexNDFromLightsWithBadFulls(t *testing.T) {
t.Skip()
const (
blocks = 10
btime = time.Millisecond * 300
Expand Down
3 changes: 3 additions & 0 deletions nodebuilder/tests/p2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Steps:
5. Check that nodes are connected to bridge
*/
func TestBridgeNodeAsBootstrapper(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -65,6 +66,7 @@ Steps:
7. Check that full and light nodes are connected to each other
*/
func TestFullDiscoveryViaBootstrapper(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -139,6 +141,7 @@ Steps:
*NOTE*: this test will take some time because it relies on several cycles of peer discovery
*/
func TestRestartNodeDiscovery(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down
3 changes: 3 additions & 0 deletions nodebuilder/tests/reconstruct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Steps:
5. Check that a FN can retrieve shares from 1 to 20 blocks
*/
func TestFullReconstructFromBridge(t *testing.T) {
t.Skip()
const (
blocks = 20
bsize = 16
Expand Down Expand Up @@ -89,6 +90,7 @@ Test-Case: Full Node reconstructs blocks from each other, after unsuccessfully s
block from LN subnetworks. Analog to TestShareAvailable_DisconnectedFullNodes.
*/
func TestFullReconstructFromFulls(t *testing.T) {
t.Skip()
light.DefaultSampleAmount = 10 // s
const (
blocks = 10
Expand Down Expand Up @@ -255,6 +257,7 @@ Steps:
9. Check that the FN can retrieve shares from 1 to 20 blocks
*/
func TestFullReconstructFromLights(t *testing.T) {
t.Skip()
eds.RetrieveQuadrantTimeout = time.Millisecond * 100
light.DefaultSampleAmount = 20
const (
Expand Down
5 changes: 5 additions & 0 deletions nodebuilder/tests/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Full node:
8. Wait for FN DASer to catch up to network head
*/
func TestSyncAgainstBridge_NonEmptyChain(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -135,6 +136,7 @@ Full node:
8. Wait for FN DASer to catch up to network head
*/
func TestSyncAgainstBridge_EmptyChain(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -211,6 +213,7 @@ Steps:
9. Check LN is synced to height 40
*/
func TestSyncStartStopLightWithBridge(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
defer cancel()

Expand Down Expand Up @@ -278,6 +281,7 @@ Steps:
10. Check LN is synced to network head
*/
func TestSyncLightAgainstFull(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down Expand Up @@ -357,6 +361,7 @@ Steps:
9. Check LN is synced to network head.
*/
func TestSyncLightWithTrustedPeers(t *testing.T) {
t.Skip()
ctx, cancel := context.WithTimeout(context.Background(), swamp.DefaultTestTimeout)
t.Cleanup(cancel)

Expand Down

0 comments on commit 0a5c93a

Please sign in to comment.