Skip to content

Commit

Permalink
increases resources, blob ranges, and sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Mar 26, 2024
1 parent 519ee8c commit 5100c06
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/e2e/throughput_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,20 @@ func TestE2EThroughput(t *testing.T) {
// obtain the GRPC endpoints of the validators
gRPCEndpoints, err := testnet.RemoteGRPCEndpoints()
require.NoError(t, err)
t.Log("txsim GRPC endpoint", gRPCEndpoints[:1])
t.Log("txsim GRPC endpoint", gRPCEndpoints)

t.Log("Creating txsim nodes")
// create txsim nodes and point them to the validators
txsimVersion := "cf79f55" // "65c1a8e" // TODO pull the latest version of txsim if possible

err = testnet.CreateAndSetupTxSimNodes(txsimVersion, seed, 5,
"5000-10000", 3, defaultResources,
gRPCEndpoints[:1])
err = testnet.CreateAndSetupTxSimNodes(txsimVersion, seed, 10,
"10000-50000", 3, Resources{
memoryRequest: "400Mi",
memoryLimit: "1Gi",
cpu: "2",
volume: "1Gi",
},
gRPCEndpoints)
require.NoError(t, err)

// start the testnet
Expand All @@ -74,7 +79,7 @@ func TestE2EThroughput(t *testing.T) {
require.NoError(t, err)

// wait some time for the txsim to submit transactions
time.Sleep(1 * time.Minute)
time.Sleep(2 * time.Minute)

t.Log("Reading blockchain")
blockchain, err := testnode.ReadBlockchain(context.Background(), testnet.Node(0).AddressRPC())
Expand Down

0 comments on commit 5100c06

Please sign in to comment.