Skip to content

Commit a085c4b

Browse files
committed
Attempt to solve flakiness in appsec int tests
1 parent 4b51dd6 commit a085c4b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,9 @@ EOT
377377

378378
/\$(builddir)/components-rs/mock_php.c: $all_object_files
379379
($ddtrace_mockgen_invocation \$(builddir)/components-rs/mock_php.c $php_binary $all_object_files_absolute)
380+
381+
# avoid cargo running simultaneously for libddtrace_php and php_sidecar_mockgen
382+
\$(builddir)/components-rs/mock_php.lo: | \$(filter-out \$(builddir)/components-rs/mock_php.lo,\$(shared_objects_ddtrace))
380383
EOT
381384

382385
PHP_ADD_SOURCES_X("/$ext_dir", "\$(builddir)/components-rs/mock_php.c", $ac_extra, shared_objects_ddtrace, yes)

0 commit comments

Comments
 (0)