I was watching a conference talk (No need to watch it to understand my question but if you're curious it's from 35m28s to 36m28s). The following test was shown:
TEST(Foo, StorageTest){
StorageServer* server = GetStorageServerHandle();
auto my_val = rand();
server -> Store("testKey", my_val);
EXPECT_EQ(my_val, server->Load("testKey"));
}
One of the speakers said: "you can only expect that storing data to a production service works if only one copy of that test is running at a time."
The other speaker said: "Once you add continuous integration in the mix, the test starts failing". I don't know a lot about CI/CD.
I am having some trouble understanding both claims 1. and 2. Any help?
server
as representing anything that's not isolated by the test. A SQL server, a public file, etc.