Files
AetherForge/server/internal/fargate/burst_test.go
AetherForge 5b5fc7c01c
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Add Emberwake Cloud Ecosystem deploy hub with AWS and generic spread templates.
Unified expandable panels with mermaid flows, ZIP export, connection tests, and Playwright smoke coverage.
2026-06-07 10:03:22 -07:00

17 lines
385 B
Go

package fargate
import (
"strings"
"testing"
)
func TestGenerateBundle(t *testing.T) {
b, err := GenerateBundle(Options{ShardToken: "t", Shards: [][]byte{[]byte("x")}, TTLHours: 3})
if err != nil || len(b.TaskDefinitionJSON) == 0 {
t.Fatalf("err=%v", err)
}
if !strings.Contains(string(b.TaskDefinitionJSON), "AF_SHARD_MANIFEST_B64") {
t.Fatal("missing manifest env")
}
}