Skip to content

Commit dcf965d

Browse files
committed
fix test due to missing remote file
1 parent 6d4bf45 commit dcf965d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/ubic/basecode/util/NetUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ final public void testFtpFileSize() throws Exception {
8080
log.warn( "Could not connect to ftp.ncbi.nlm.nih.gov, skipping test" );
8181
return;
8282
}
83-
long actualValue = NetUtils.ftpFileSize( f, "genomes/Pan_troglodytes/WGS_12Dec2003/WIBR.seq007.fa" );
84-
long expectedValue = 131446617;
85-
assertEquals( expectedValue, actualValue, 100000 ); // don't really care if they change the file size....
83+
long actualValue = NetUtils.ftpFileSize( f, "genomes/all/annotation_releases/1026970/102/Nannospalax_galili_AR102_annotation_report.xml" );
84+
long expectedValue = 79819;
85+
assertEquals( expectedValue, actualValue, 10000 ); // don't really care if they change the file size....
8686
}
8787

8888
@Test

0 commit comments

Comments
 (0)