class NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
Regression test for https://fxbug.dev/520619984.
The port dispatcher is unsynchronized, so a pending SetActive task and the port teardown task can
run concurrently on different threads. If the teardown task wins, the DevicePort is destroyed
before the SetActive task runs. This test models that interleaving deterministically by driving
the port's tasks from a loop that is only run after the port has been destroyed. The pending
SetActive task must not touch the destroyed port.
Public Methods
void NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test ()
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
void NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test (const NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test & )
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
void NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test (NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test && )
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test & operator= (const NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test & )
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test & operator= (NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test && )
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc
void ~NetworkDeviceTest_PendingSetActiveAfterPortDestroyedIsNoop_Test ()
Defined at line 3344 of file ../../src/connectivity/network/drivers/network-device/device/network_device-test.cc