Disable flaky tests in TestExtFile and TestExtImageSprite

Esse commit está contido em:
bsimmers
2013-03-14 12:12:35 -07:00
commit de Sara Golemon
commit e580483214
2 arquivos alterados com 7 adições e 1 exclusões
+4
Ver Arquivo
@@ -607,8 +607,12 @@ bool TestExtFile::test_copy() {
f_copy("test/test_ext_file.tmp", "test/test_ext_file2.tmp");
VERIFY(f_file_exists("test/test_ext_file2.tmp"));
VERIFY(f_file_exists("test/test_ext_file.tmp"));
// XXX disabled until we work out flaky network issues. t2183444
#if 0
f_copy("http://facebook.com", "test/test_ext_file3.tmp");
VERIFY(f_file_exists("test/test_ext_file3.tmp"));
#endif
return Count(true);
}
+3 -1
Ver Arquivo
@@ -228,6 +228,8 @@ bool TestExtImagesprite::test_loadImages() {
VS(sprite->m_image_data["test/images/php.gif"]->m_height, 67);
VS(sprite->m_image_data["test/images/php.gif"]->m_image == nullptr, false);
// XXX disabled until we work out flaky network issues. t2183444
#if 0
sprite->t_clear();
sprite->t_addurl("http://www.facebook.com/images/icons/like.png", -1, dims);
sprite->t_loadimages(true);
@@ -244,7 +246,7 @@ bool TestExtImagesprite::test_loadImages() {
->m_image
== nullptr,
false);
#endif
return Count(true);
}
bool TestExtImagesprite::test_map() {