You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2022/06/14 11:28:30 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1002: Fix: drop unused 'this' from lambda capture for unit-tests that verify replication factor

empiredan opened a new issue, #1002:
URL: https://github.com/apache/incubator-pegasus/issues/1002

   Recently [BuildPegasusRegularly](https://github.com/apache/incubator-pegasus/actions/workflows/pegasus-regular-build.yml) has failed for several times, such as [6866926245](https://github.com/apache/incubator-pegasus/runs/6866926245?check_suite_focus=true). The error message is:
   ```
   /root/incubator-pegasus/rdsn/src/meta/test/meta_app_operation_test.cpp:230:19: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
                   [ this, expected_pid = partition_config.pid, expected_max_replica_count ](
                     ^~~~~~
   /root/incubator-pegasus/rdsn/src/meta/test/meta_app_operation_test.cpp:263:14: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
               [this, app, expected_max_replica_count](error_code ec, const blob &value) {
                ^~~~~
   2 errors generated.
   ```
   
   The reported unit tests that verify replication factor should be fixed, since `this` in lambda capture is not used.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] empiredan closed issue #1002: Fix: drop unused 'this' from lambda capture for unit-tests that verify replication factor

Posted by GitBox <gi...@apache.org>.
empiredan closed issue #1002: Fix: drop unused 'this' from lambda capture for unit-tests that verify replication factor
URL: https://github.com/apache/incubator-pegasus/issues/1002


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org