File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,9 +30,12 @@ The tracking issue for dynamic modules in general is [here](https://github.com/e
3030## Development
3131
3232```
33- make test # Run all unit tests
34- make build # Build all dynamic modules
35- make integration-test # Run integration tests with Envoy
33+ # Run all unit tests
34+ make test
35+ # Build all dynamic modules
36+ make build
37+ # Run integration tests with Envoy
38+ make integration-test
3639```
3740
3841[ Envoy ] : https://github.com/envoyproxy/envoy
Original file line number Diff line number Diff line change @@ -292,6 +292,9 @@ func envoy_dynamic_module_on_http_filter_scheduled(
292292 filterModulePtr uintptr ,
293293 eventID uint64 ,
294294) {
295+ pinned := unwrapPinnedHttpFilter (uintptr (filterModulePtr ))
296+ // Call the Scheduled method of the filter.
297+ pinned .obj .Scheduled (envoyFilter {raw : uintptr (filterEnvoyPtr )}, uint64 (eventID ))
295298}
296299
297300//export envoy_dynamic_module_on_http_filter_http_stream_reset
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ func TestIntegration(t *testing.T) {
8989 require .NoError (t , cmd .Start ())
9090 t .Cleanup (func () {
9191 cancel ()
92- require .NoError (t , cmd .Process .Signal (os .Interrupt ))
92+ time .Sleep (3 * time .Second )
93+ require .NoError (t , cmd .Process .Signal (os .Kill ))
9394 })
9495 }
9596
You can’t perform that action at this time.
0 commit comments