Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
0937f992
Commit
0937f992
authored
10 years ago
by
Cam Saul
Browse files
Options
Downloads
Patches
Plain Diff
less obnoxious logging. Parallelize unit tests
parent
c11dfa27
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
circle.yml
+2
-2
2 additions, 2 deletions
circle.yml
resources/log4j.properties
+2
-1
2 additions, 1 deletion
resources/log4j.properties
test/metabase/test_utils.clj
+4
-0
4 additions, 0 deletions
test/metabase/test_utils.clj
with
8 additions
and
3 deletions
circle.yml
+
2
−
2
View file @
0937f992
test
:
override
:
-
lein eastwood
-
lein expectations
-
case $CIRCLE_NODE_INDEX in 0) lein eastwood ;; 1) lein expectations ;; esac
:
parallel
:
true
This diff is collapsed.
Click to expand it.
resources/log4j.properties
+
2
−
1
View file @
0937f992
...
...
@@ -15,5 +15,6 @@ log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern
=
%d [%t] %-5p%c - %m%n
# customizations to logging by package
log4j.logger.com.mchange
=
WARN
log4j.logger.liquibase
=
WARN
log4j.logger.metabase
=
DEBUG
log4j.logger.liquibase
=
WARN
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/metabase/test_utils.clj
+
4
−
0
View file @
0937f992
...
...
@@ -18,6 +18,10 @@
;; it's pretty annoying to have our DB reset all the time
(
expectations/disable-run-on-shutdown
)
;; Disable debug logging since it clutters up our output
(
.setLevel
(
org.apache.log4j.Logger/getLogger
"metabase"
)
org.apache.log4j.Level/INFO
)
(
println
"OK!"
)
(
defn
setup-test-db
"setup database schema"
{
:expectations-options
:before-run
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment