This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Obtain latest release version and compare against metadata version, warn on | |
# mismatch. | |
def verify_and_print_latest_release(dep, repo, metadata_version, release_date): | |
try: | |
latest_release = repo.get_latest_release() | |
except github.GithubException as e: | |
# add a warning and make use of `e` | |
return | |
if latest_release.created_at > release_date and latest_release.tag_name != metadata_version: | |
print( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
from mock import MagicMock, PropertyMock, patch | |
from django.http import HttpResponse | |
from django.urls import reverse | |
@patch('pontoon.base.views.get_object_or_404') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 17 16:57:26 ip-172-31-12-60 docker[26108]: [2017-07-17T16:57:26,186][INFO ][o.e.n.Node ] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+DisableExplicitGC, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.cgroups.hierarchy.override=/, -Des.path.home=/usr/share/elasticsearch] | |
Jul 17 16:57:27 ip-172-31-12-60 docker[26108]: [2017-07-17T16:57:27,241][INFO ][o.e.p.PluginsService ] [dH51qUN] loaded module [aggs-matrix-stats] | |
Jul 17 16:57:27 ip-172-31-12-60 docker[26108]: [2017-07-17T16:57:27,241][INFO ][o.e.p.PluginsService ] [dH51qUN] loaded module [ingest-common] | |
Jul 17 16:57:27 ip-172 |