Refactoring of tests moving common logic in tests/framework (#769)

* first commit

* refactor: update golangci configuration and reorder imports in namespace.go

* refactor: update golangci configuration for linters and formatters

* check restart for logs fetch

* rverted a bit the structure

* requested changes

* WriteLogs rename
This commit is contained in:
Enrico Candino
2026-04-13 12:50:38 +02:00
committed by GitHub
parent cd4e5340e3
commit ba1648e560
33 changed files with 649 additions and 642 deletions
+1
View File
@@ -253,6 +253,7 @@ func (s *SharedAgent) podSpec(ctx context.Context) v1.PodSpec {
}
podSpec.RuntimeClassName = runtimeClassName
return podSpec
}
+1
View File
@@ -137,6 +137,7 @@ func (v *VirtualAgent) deployment(ctx context.Context) error {
func (v *VirtualAgent) podSpec(ctx context.Context, image, name string) v1.PodSpec {
log := ctrl.LoggerFrom(ctx)
var limit v1.ResourceList
args := v.cluster.Spec.AgentArgs