Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build pipelines sometimes fail to pass tests #36

Open
merlos opened this issue Oct 4, 2020 · 0 comments
Open

Build pipelines sometimes fail to pass tests #36

merlos opened this issue Oct 4, 2020 · 0 comments

Comments

@merlos
Copy link
Owner

merlos commented Oct 4, 2020

Whereas in my dev environment unit testing works in build pipelines in github and in travisCI fail most of the time.

Primarily these are the expectations that do not work most of the time

✗ a_DiskCache__can_find_a_file_that_is_in_the_cache, expected to equal <4096>, got <8192>
✗ a_DiskCache__can_remove_the_file_from_the_cache, expected to eventually equal <4096>, got <8192>
✗ a_DiskCache__can_remove_the_file_from_the_cache, expected to eventually equal <0>, got <4096>

MapCache_Tests.DiskCacheSpecs

a_DiskCache__can_find_a_file_that_is_in_the_cache, expected to equal <4096>, got <8192>

/Users/travis/build/merlos/MapCache/Example/Tests/DiskCache/DiskCacheSpecs.swift:111

              diskCache.setDataSync(data1!, forKey: filename1)
              expect(diskCache.diskSize).to(equal(4096))

a_DiskCache__can_remove_the_file_from_the_cache, expected to eventually equal <4096>, got <8192>

/Users/travis/build/merlos/MapCache/Example/Tests/DiskCache/DiskCacheSpecs.swift:151

         diskCache.setDataSync(data1!, forKey: filename1)
         expect(diskCache.diskSize).toEventually(equal(4096))
          // remove the file

a_DiskCache__can_remove_the_file_from_the_cache, expected to eventually equal <0>, got <4096>
/Users/travis/build/merlos/MapCache/Example/Tests/DiskCache/DiskCacheSpecs.swift:155

              expect(diskCache.diskSize).toEventually(equal(0))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant