승인된 execution preset을 Edge 조정 경계와 Node workspace/tool 실행 경계로 연결해 단일 요청 수명주기와 관측 계약을 일관되게 처리한다.
13 lines
340 B
Go
13 lines
340 B
Go
package bootstrap
|
|
|
|
import "testing"
|
|
|
|
func TestSingleRequestObservationWiring(t *testing.T) {
|
|
runtime, err := NewRuntime(newTestConfig())
|
|
if err != nil {
|
|
t.Fatalf("NewRuntime: %v", err)
|
|
}
|
|
if !runtime.Service.SingleRequestObservationConfigured() {
|
|
t.Fatal("single-request observation is not installed before input construction")
|
|
}
|
|
}
|