Skip to content

Commit

Permalink
docs: move test docstring to top of Test to be more visible
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Oct 24, 2024
1 parent 8160488 commit 99d213c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/clients/eigenda_client_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ func init() {
flag.BoolVar(&runTestnetIntegrationTests, "testnet-integration", false, "Run testnet-based integration tests")
}

// TestClientUsingTestnet tests the eigenda client against holesky testnet disperser.
// We don't test waiting for finality because that adds 12 minutes to the test, and is not necessary
// because we already test for this in the unit tests using a mock disperser which is much faster.
func TestClientUsingTestnet(t *testing.T) {
if !runTestnetIntegrationTests {
t.Skip("Skipping testnet integration test")
Expand All @@ -33,10 +36,7 @@ func TestClientUsingTestnet(t *testing.T) {
StatusQueryRetryInterval: 5 * time.Second,
CustomQuorumIDs: []uint{},
SignerPrivateKeyHex: "2d23e142a9e86a9175b9dfa213f20ea01f6c1731e09fa6edf895f70fe279cbb1",
// Waiting for finality adds 12 minutes to the test, and is not necessary
// because we already test for this correct behavior in the unit tests using a mock disperser
// which is much faster.
WaitForFinalization: false,
WaitForFinalization: false,
})
data := "hello world!"
assert.NoError(t, err)
Expand Down

0 comments on commit 99d213c

Please sign in to comment.