diff --git a/.github/workflows/taiko-client--hive_test.yml b/.github/workflows/taiko-client--hive_test.yml index 549728bb9f..22ee0c92c5 100644 --- a/.github/workflows/taiko-client--hive_test.yml +++ b/.github/workflows/taiko-client--hive_test.yml @@ -13,7 +13,7 @@ jobs: if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'option.hive-test') name: hive tests runs-on: [ubuntu-latest] - timeout-minutes: 15 + timeout-minutes: 20 steps: - name: Cancel Previous Runs diff --git a/packages/taiko-client/integration_test/hive_test.go b/packages/taiko-client/integration_test/hive_test.go index 6aea46425d..a16ce490c1 100644 --- a/packages/taiko-client/integration_test/hive_test.go +++ b/packages/taiko-client/integration_test/hive_test.go @@ -18,7 +18,7 @@ func TestHiveHandler(t *testing.T) { clientGroups := [][]string{ { - "taiko/anvil", + "anvil", "taiko/taiko-geth", "taiko/driver", "taiko/proposer", @@ -46,6 +46,50 @@ func TestHiveHandler(t *testing.T) { t.Run("taiko-reorg/taiko-reorg/clusters(1)", func(t *testing.T) { testDenebReorg(t, "taiko-reorg/taiko-reorg", [][]string{clientGroups[0]}) }) + + t.Run("taiko-blob/blob-server", func(t *testing.T) { + testBlobAPI(t, "taiko-blob/blob-server", []string{ + "geth", + "prysm/prysm-bn", + "prysm/prysm-vc", + "taiko/taiko-geth", + "taiko/driver", + "taiko/proposer", + "taiko/prover", + "storage/redis", + "storage/postgres", + "blobscan/blobscan-api", + "blobscan/blobscan-indexer", + }) + }) + + t.Run("taiko-blob/blob-l1-beacon", func(t *testing.T) { + testBlobAPI(t, "taiko-blob/blob-l1-beacon", []string{ + "geth", + "prysm/prysm-bn", + "prysm/prysm-vc", + "taiko/taiko-geth", + "taiko/driver", + "taiko/proposer", + "taiko/prover", + }) + }) +} + +func testBlobAPI(t *testing.T, pattern string, clients []string) { + handler, err := hivesim.NewHiveFramework(&hivesim.HiveConfig{ + BuildOutput: false, + ContainerOutput: true, + BaseDir: os.Getenv("HIVE_DIR"), + SimPattern: "taiko", + SimTestPattern: pattern, + ClientGroups: [][]string{clients}, + }) + assert.NoError(t, err) + + failedCount, err := handler.Run(context.Background()) + assert.NoError(t, err) + assert.Equal(t, 0, failedCount) } func testDenebGenesis(t *testing.T, simPattern string, clientGroups [][]string) {