Skip to content

Commit

Permalink
fixed missing import in the SocorroLiteProcessor class + a test
Browse files Browse the repository at this point in the history
  • Loading branch information
twobraids committed Oct 26, 2015
1 parent 47914a7 commit fbb3428
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function start_minimal_socorro_apps() {
echo "INFO: starting up *** start_minimal_socorro_apps *** "
echo " * in this test we're using the older collector capable of accepting only breakpad crashes"
echo " * the collector writes to only the filesystem using FSTemporaryStorage"
echo " * the processor used Processor2015 with the MozillaProcessorAlgorithm2015"
echo " * the processor used Processor2015 with the SocorroLiteProcessorAlgorithm2015"
echo " * the processor sources from FSTemporaryStorage"
echo " * the processor writes only to FSPermanentStorage"
socorro collector \
Expand All @@ -362,7 +362,7 @@ function start_minimal_socorro_apps() {
--source.crashstorage_class=socorro.external.fs.crashstorage.FSTemporaryStorage \
--new_crash_source.new_crash_source_class=socorro.external.fs.fs_new_crash_source.FSNewCrashSource \
--new_crash_source.crashstorage_class=socorro.external.fs.crashstorage.FSTemporaryStorage \
--processor.processor_class=socorro.processor.mozilla_processor_2015.MozillaProcessorAlgorithm2015 \
--processor.processor_class=socorro.processor.socorrolite_processor_2015.SocorroLiteProcessorAlgorithm2015 \
--destination.crashstorage_class=socorro.external.fs.crashstorage.FSPermanentStorage \
--destination.fs_root=./processedCrashStore \
> processor.log 2>&1 &
Expand Down
3 changes: 3 additions & 0 deletions socorro/processor/socorrolite_processor_2015.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import ujson

from socorro.processor.processor_2015 import Processor2015
from socorro.lib.converters import change_default

from configman import Namespace

#------------------------------------------------------------------------------
# these are the steps that define minimal processing of a crash.
# they are used to define the default rule configuration a
Expand Down

0 comments on commit fbb3428

Please sign in to comment.