MCPcopy Create free account
hub / github.com/apache/skywalking-php / e2e

Function e2e

tests/e2e.rs:37–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
37async fn e2e() {
38 let fixture = common::setup().await;
39
40 // TODO Prefer to listen the server ready signal.
41 sleep(Duration::from_secs(5)).await;
42
43 let result = catch_unwind(|| {
44 task::block_in_place(|| {
45 Handle::current().block_on(run_e2e());
46 });
47 });
48
49 common::teardown(fixture).await;
50
51 if let Err(e) = result {
52 resume_unwind(e);
53 }
54}
55
56async fn run_e2e() {
57 request_fpm_curl().await;

Callers

nothing calls this directly

Calls 3

setupFunction · 0.85
run_e2eFunction · 0.85
teardownFunction · 0.85

Tested by

no test coverage detected