Skip to content

fix: add delay to let server stop

Codecov / codecov/patch failed Aug 17, 2024 in 1s

0.00% of diff hit (target 86.26%)

View this Pull Request on Codecov

0.00% of diff hit (target 86.26%)

Annotations

Check warning on line 31 in src/cli/command.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/command.rs#L31

Added line #L31 was not covered by tests

Check warning on line 51 in src/cli/server/http_server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/server/http_server.rs#L51

Added line #L51 was not covered by tests

Check warning on line 57 in src/cli/server/http_server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/server/http_server.rs#L57

Added line #L57 was not covered by tests

Check warning on line 59 in src/cli/server/http_server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/server/http_server.rs#L59

Added line #L59 was not covered by tests

Check warning on line 69 in src/cli/server/http_server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/server/http_server.rs#L69

Added line #L69 was not covered by tests

Check warning on line 71 in src/cli/server/http_server.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/server/http_server.rs#L71

Added line #L71 was not covered by tests

Check warning on line 42 in src/cli/tc/run.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/run.rs#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 20 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L16-L20

Added lines #L16 - L20 were not covered by tests

Check warning on line 32 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L22-L32

Added lines #L22 - L32 were not covered by tests

Check warning on line 35 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 44 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L38-L44

Added lines #L38 - L44 were not covered by tests

Check warning on line 47 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L46-L47

Added lines #L46 - L47 were not covered by tests

Check warning on line 70 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L50-L70

Added lines #L50 - L70 were not covered by tests

Check warning on line 77 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L74-L77

Added lines #L74 - L77 were not covered by tests

Check warning on line 91 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L82-L91

Added lines #L82 - L91 were not covered by tests

Check warning on line 95 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L93-L95

Added lines #L93 - L95 were not covered by tests

Check warning on line 100 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L98-L100

Added lines #L98 - L100 were not covered by tests

Check warning on line 102 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L102

Added line #L102 was not covered by tests

Check warning on line 110 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L104-L110

Added lines #L104 - L110 were not covered by tests

Check warning on line 116 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L112-L116

Added lines #L112 - L116 were not covered by tests

Check warning on line 118 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L118

Added line #L118 was not covered by tests

Check warning on line 121 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L121

Added line #L121 was not covered by tests

Check warning on line 129 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L125-L129

Added lines #L125 - L129 were not covered by tests

Check warning on line 142 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L131-L142

Added lines #L131 - L142 were not covered by tests

Check warning on line 150 in src/cli/tc/start.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/cli/tc/start.rs#L144-L150

Added lines #L144 - L150 were not covered by tests