Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
352 changes: 169 additions & 183 deletions benchmarking/locust/common/ateapi_pb2.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion cmd/ateapi/internal/controlapi/actor_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ func TestCreateActorTemplateIgnoresServerOwnedFields(t *testing.T) {
GoldenSnapshotStatus: &ateapipb.GoldenSnapshotStatus{
GoldenSnapshot: &ateapipb.ObjectRef{Atespace: "ate-golden", Name: "sneaky"},
},
SandboxAssets: &ateapipb.SandboxAssets{SandboxClass: ateapipb.SandboxClass_SANDBOX_CLASS_GVISOR},
}
})
created, err := s.CreateActorTemplate(ctx, &ateapipb.CreateActorTemplateRequest{ActorTemplate: in})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func TestActorTemplateCRUD(t *testing.T) {
GoldenSnapshotStatus: &ateapipb.GoldenSnapshotStatus{
GoldenSnapshot: &ateapipb.ObjectRef{Atespace: "ate-golden", Name: "sneaky"},
},
SandboxAssets: &ateapipb.SandboxAssets{SandboxClass: ateapipb.SandboxClass_SANDBOX_CLASS_GVISOR},
},
},
})
Expand Down
7 changes: 4 additions & 3 deletions internal/ateinterceptors/rejectunknown_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"google.golang.org/protobuf/proto"
"k8s.io/apimachinery/pkg/util/validation/field"

"github.com/agent-substrate/substrate/internal/proto/ateletpb"
"github.com/agent-substrate/substrate/pkg/proto/ateapipb"
)

Expand Down Expand Up @@ -126,9 +127,9 @@ func TestFindUnknownFields(t *testing.T) {
{
name: "unknown field inside a map value message",
in: func() proto.Message {
return &ateapipb.SandboxAssets{
Assets: map[string]*ateapipb.ArchAssets{
"amd64": withUnknown(&ateapipb.ArchAssets{}, 9999),
return &ateletpb.SandboxAssets{
Assets: map[string]*ateletpb.ArchAssets{
"amd64": withUnknown(&ateletpb.ArchAssets{}, 9999),
},
}
},
Expand Down
Loading
Loading