Author: bmahe
Date: Wed Nov 9 21:45:41 2011
New Revision: 1199988
URL: http://svn.apache.org/viewvc?rev=1199988&view=rev
Log:
BIGTOP-247. Typo in error msgs.
Contributed by Will McQueen
Modified:
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy
Modified:
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
URL:
http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy?rev=1199988&r1=1199987&r2=1199988&view=diff
==============================================================================
---
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
(original)
+++
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
Wed Nov 9 21:45:41 2011
@@ -328,12 +328,12 @@ class PackageTestCommon {
if (pm.type == "apt" && doc != null) {
file.putAll(doc);
} else {
- checkThat("list of documentation files of pacakge $name is different
from what was expected",
+ checkThat("list of documentation files of package $name is different
from what was expected",
docs, hasSameKeys(doc));
}
- checkThat("list of config files of pacakge $name is different from what
was expected",
+ checkThat("list of config files of package $name is different from what
was expected",
configs, hasSameKeys(config));
- checkThat("list of regular files of pacakge $name is different from what
was expected",
+ checkThat("list of regular files of package $name is different from what
was expected",
files, hasSameKeys(file));
// TODO: we should probably iterate over a different set of files to
include loose files as well
Modified:
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy
URL:
http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy?rev=1199988&r1=1199987&r2=1199988&view=diff
==============================================================================
---
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy
(original)
+++
incubator/bigtop/branches/branch-0.2/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy
Wed Nov 9 21:45:41 2011
@@ -126,7 +126,7 @@ class TestPackagesBasics extends Package
synchronized void testPackageInstall() {
// WARNING: sometimes packages do not install because the server is busy
for (int i=3; pkg.install() && i>0; i--) {
- recordFailure("can not install pacakge $name will retry $i times");
+ recordFailure("can not install package $name will retry $i times");
}
// TODO: we need to come up with a way to abort any further execution to
avoid spurious failures